Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#15
by
soiz1
- opened
- app.py +1 -1
- requirements.txt +2 -4
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import spaces
|
2 |
import os
|
3 |
from stablepy import (
|
@@ -175,7 +176,6 @@ class GuiSD:
|
|
175 |
dtype_model = torch.bfloat16 if model_type == "FLUX" else torch.float16
|
176 |
|
177 |
if not os.path.exists(model_name):
|
178 |
-
print("debug", model_name, vae_model, task, controlnet_model)
|
179 |
_ = download_diffuser_repo(
|
180 |
repo_name=model_name,
|
181 |
model_type=model_type,
|
|
|
1 |
+
#For restart.You can delete this
|
2 |
import spaces
|
3 |
import os
|
4 |
from stablepy import (
|
|
|
176 |
dtype_model = torch.bfloat16 if model_type == "FLUX" else torch.float16
|
177 |
|
178 |
if not os.path.exists(model_name):
|
|
|
179 |
_ = download_diffuser_repo(
|
180 |
repo_name=model_name,
|
181 |
model_type=model_type,
|
requirements.txt
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
-
stablepy==0.6.
|
2 |
torch==2.2.0
|
3 |
gdown
|
4 |
opencv-python
|
5 |
-
unidecode
|
6 |
-
pydantic==2.10.6
|
7 |
-
huggingface_hub==0.29.3
|
|
|
1 |
+
stablepy==0.6.0
|
2 |
torch==2.2.0
|
3 |
gdown
|
4 |
opencv-python
|
5 |
+
unidecode
|
|
|
|