Artiprocher commited on
Commit
80985dc
1 Parent(s): 15703fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import spaces
2
  import os
3
  os.system("pip install -r requirements.txt")
4
  from diffsynth import download_models
5
- download_models(["Kolors", "FLUX.1-dev"])
6
 
7
  import gradio as gr
8
  from diffsynth import ModelManager, SDImagePipeline, SDXLImagePipeline, SD3ImagePipeline, HunyuanDiTImagePipeline, FluxImagePipeline
 
2
  import os
3
  os.system("pip install -r requirements.txt")
4
  from diffsynth import download_models
5
+ download_models(["Kolors", "FLUX.1-dev"], downloading_priority=["HuggingFace", "ModelScope"])
6
 
7
  import gradio as gr
8
  from diffsynth import ModelManager, SDImagePipeline, SDXLImagePipeline, SD3ImagePipeline, HunyuanDiTImagePipeline, FluxImagePipeline