Spaces:
Running
on
Zero
Running
on
Zero
Upload 3 files
Browse files- app.py +1 -0
- requirements.txt +6 -7
app.py
CHANGED
@@ -204,6 +204,7 @@ class GuiSD:
|
|
204 |
dtype_model = torch.bfloat16 if model_type == "FLUX" else torch.float16
|
205 |
|
206 |
if not os.path.exists(model_name):
|
|
|
207 |
_ = download_diffuser_repo(
|
208 |
repo_name=model_name,
|
209 |
model_type=model_type,
|
|
|
204 |
dtype_model = torch.bfloat16 if model_type == "FLUX" else torch.float16
|
205 |
|
206 |
if not os.path.exists(model_name):
|
207 |
+
print("debug", model_name, vae_model, task, controlnet_model)
|
208 |
_ = download_diffuser_repo(
|
209 |
repo_name=model_name,
|
210 |
model_type=model_type,
|
requirements.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
stablepy==0.6.
|
2 |
-
diffusers<=0.32.0
|
3 |
-
transformers==4.47.1
|
4 |
torch==2.4.0
|
5 |
numpy<2
|
6 |
gdown
|
@@ -9,10 +9,9 @@ torchvision
|
|
9 |
accelerate
|
10 |
optimum[onnxruntime]
|
11 |
dartrs
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
huggingface_hub==0.29.3
|
16 |
translatepy
|
17 |
timm
|
18 |
rapidfuzz
|
|
|
1 |
+
stablepy==0.6.2
|
2 |
+
#diffusers<=0.32.0
|
3 |
+
#transformers==4.47.1
|
4 |
torch==2.4.0
|
5 |
numpy<2
|
6 |
gdown
|
|
|
9 |
accelerate
|
10 |
optimum[onnxruntime]
|
11 |
dartrs
|
12 |
+
huggingface_hub
|
13 |
+
hf_transfer
|
14 |
+
hf_xet
|
|
|
15 |
translatepy
|
16 |
timm
|
17 |
rapidfuzz
|