fffiloni commited on
Commit
b477ed7
1 Parent(s): 24385c2

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. 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 huggingface_hub
12
 
13
  weights_dir = './allegro_weights'
14
  os.makedirs(weights_dir, exist_ok=True)
15
 
16
- huggingface_hub.snapshot_download(
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/**',