Spaces:
Runtime error
Runtime error
ehristoforu
commited on
Commit
•
35b50f2
1
Parent(s):
ac63001
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,6 @@ list_models = [
|
|
11 |
"OpenJourney-V4",
|
12 |
"Anything-V4",
|
13 |
"Disney-Pixar-Cartoon",
|
14 |
-
"Rick-Roll-Style",
|
15 |
"Pixel-Art-XL",
|
16 |
]
|
17 |
|
@@ -28,8 +27,6 @@ def generate_txt2img(current_model, prompt, is_negative=False, image_style="None
|
|
28 |
API_URL = "https://api-inference.huggingface.co/models/xyn-ai/anything-v4.0"
|
29 |
elif current_model == "Disney-Pixar-Cartoon":
|
30 |
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/disney-pixar-cartoon"
|
31 |
-
elif current_model == "Rick-Roll-Style":
|
32 |
-
API_URL = "https://api-inference.huggingface.co/models/TheLastBen/rick-roll-style"
|
33 |
elif current_model == "Pixel-Art-XL":
|
34 |
API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
35 |
|
|
|
11 |
"OpenJourney-V4",
|
12 |
"Anything-V4",
|
13 |
"Disney-Pixar-Cartoon",
|
|
|
14 |
"Pixel-Art-XL",
|
15 |
]
|
16 |
|
|
|
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 |
|