Upload 2 files
Browse files- app.py +2 -2
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -14,7 +14,7 @@ HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None #
|
|
| 14 |
inference_timeout = 300
|
| 15 |
MAX_SEED = 2**32-1
|
| 16 |
|
| 17 |
-
models = [
|
| 18 |
"nicky007/stable-diffusion-logo-fine-tuned",
|
| 19 |
"stablediffusionapi/three-delicacy", #233
|
| 20 |
"stablediffusionapi/three-delicacy-wonto", #234
|
|
@@ -25,7 +25,7 @@ models = [
|
|
| 25 |
"ItsJayQz/Valorant_Diffusion",
|
| 26 |
"Fictiverse/Stable_Diffusion_VoxelArt_Model", #204
|
| 27 |
"wavymulder/wavyfusion",
|
| 28 |
-
]
|
| 29 |
|
| 30 |
current_model = models[0]
|
| 31 |
|
|
|
|
| 14 |
inference_timeout = 300
|
| 15 |
MAX_SEED = 2**32-1
|
| 16 |
|
| 17 |
+
"""models = [ # for debugging
|
| 18 |
"nicky007/stable-diffusion-logo-fine-tuned",
|
| 19 |
"stablediffusionapi/three-delicacy", #233
|
| 20 |
"stablediffusionapi/three-delicacy-wonto", #234
|
|
|
|
| 25 |
"ItsJayQz/Valorant_Diffusion",
|
| 26 |
"Fictiverse/Stable_Diffusion_VoxelArt_Model", #204
|
| 27 |
"wavymulder/wavyfusion",
|
| 28 |
+
]"""
|
| 29 |
|
| 30 |
current_model = models[0]
|
| 31 |
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
transformers
|
| 2 |
numpy<2
|
| 3 |
-
torch==2.2.0
|
|
|
|
|
|
| 1 |
transformers
|
| 2 |
numpy<2
|
| 3 |
+
torch==2.2.0
|
| 4 |
+
fastapi==0.112.2
|