Spaces:
Runtime error
Runtime error
Commit
·
3b35384
1
Parent(s):
e3f915e
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ list_models = [
|
|
| 9 |
"SD-1.5",
|
| 10 |
"SDXL-1.0",
|
| 11 |
"OpenJourney-V4",
|
| 12 |
-
"
|
| 13 |
"Pixel-Art-XL",
|
| 14 |
]
|
| 15 |
|
|
@@ -22,8 +22,8 @@ def generate_txt2img(current_model, prompt, is_negative=False, image_style="None
|
|
| 22 |
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
|
| 23 |
elif current_model == "OpenJourney-V4":
|
| 24 |
API_URL = "https://api-inference.huggingface.co/models/prompthero/openjourney"
|
| 25 |
-
elif current_model == "
|
| 26 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
| 27 |
elif current_model == "Pixel-Art-XL":
|
| 28 |
API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
| 29 |
|
|
|
|
| 9 |
"SD-1.5",
|
| 10 |
"SDXL-1.0",
|
| 11 |
"OpenJourney-V4",
|
| 12 |
+
"Anything-V4",
|
| 13 |
"Pixel-Art-XL",
|
| 14 |
]
|
| 15 |
|
|
|
|
| 22 |
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
|
| 23 |
elif current_model == "OpenJourney-V4":
|
| 24 |
API_URL = "https://api-inference.huggingface.co/models/prompthero/openjourney"
|
| 25 |
+
elif current_model == "Anything-V4":
|
| 26 |
+
API_URL = "https://api-inference.huggingface.co/models/xyn-ai/anything-v4.0"
|
| 27 |
elif current_model == "Pixel-Art-XL":
|
| 28 |
API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
| 29 |
|