Spaces:
Paused
Paused
Update gradio_app.py
Browse files- gradio_app.py +2 -2
gradio_app.py
CHANGED
@@ -8,12 +8,12 @@ from allegro.pipelines.pipeline_allegro import AllegroPipeline
|
|
8 |
from allegro.models.vae.vae_allegro import AllegroAutoencoderKL3D
|
9 |
from allegro.models.transformers.transformer_3d_allegro import AllegroTransformer3DModel
|
10 |
|
11 |
-
import
|
12 |
|
13 |
weights_dir = './allegro_weights'
|
14 |
os.makedirs(weights_dir, exist_ok=True)
|
15 |
|
16 |
-
|
17 |
repo_id='rhymes-ai/Allegro',
|
18 |
allow_patterns=[
|
19 |
'scheduler/**',
|
|
|
8 |
from allegro.models.vae.vae_allegro import AllegroAutoencoderKL3D
|
9 |
from allegro.models.transformers.transformer_3d_allegro import AllegroTransformer3DModel
|
10 |
|
11 |
+
from huggingface_hub import snapshot_download
|
12 |
|
13 |
weights_dir = './allegro_weights'
|
14 |
os.makedirs(weights_dir, exist_ok=True)
|
15 |
|
16 |
+
snapshot_download(
|
17 |
repo_id='rhymes-ai/Allegro',
|
18 |
allow_patterns=[
|
19 |
'scheduler/**',
|