Spaces:
Runtime error
Runtime error
Commit
·
3101d68
1
Parent(s):
3b35384
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ list_models = [
|
|
| 10 |
"SDXL-1.0",
|
| 11 |
"OpenJourney-V4",
|
| 12 |
"Anything-V4",
|
|
|
|
| 13 |
"Pixel-Art-XL",
|
| 14 |
]
|
| 15 |
|
|
@@ -23,7 +24,9 @@ def generate_txt2img(current_model, prompt, is_negative=False, image_style="None
|
|
| 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 |
|
|
|
|
| 10 |
"SDXL-1.0",
|
| 11 |
"OpenJourney-V4",
|
| 12 |
"Anything-V4",
|
| 13 |
+
"Disney-Pixar-Cartoon",
|
| 14 |
"Pixel-Art-XL",
|
| 15 |
]
|
| 16 |
|
|
|
|
| 24 |
elif current_model == "OpenJourney-V4":
|
| 25 |
API_URL = "https://api-inference.huggingface.co/models/prompthero/openjourney"
|
| 26 |
elif current_model == "Anything-V4":
|
| 27 |
+
API_URL = "https://api-inference.huggingface.co/models/xyn-ai/anything-v4.0"
|
| 28 |
+
elif current_model == "Disney-Pixar-Cartoon":
|
| 29 |
+
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/disney-pixar-cartoon"
|
| 30 |
elif current_model == "Pixel-Art-XL":
|
| 31 |
API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
| 32 |
|