Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,8 @@ from trellis.utils import render_utils, postprocessing_utils
|
|
21 |
|
22 |
NUM_INFERENCE_STEPS = 8
|
23 |
|
|
|
|
|
24 |
# Constants
|
25 |
MAX_SEED = np.iinfo(np.int32).max
|
26 |
TMP_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'tmp')
|
|
|
21 |
|
22 |
NUM_INFERENCE_STEPS = 8
|
23 |
|
24 |
+
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
25 |
+
|
26 |
# Constants
|
27 |
MAX_SEED = np.iinfo(np.int32).max
|
28 |
TMP_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'tmp')
|