Spaces:
Runtime error
Runtime error
Commit
·
97a3086
1
Parent(s):
3101d68
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,7 @@ list_models = [
|
|
11 |
"OpenJourney-V4",
|
12 |
"Anything-V4",
|
13 |
"Disney-Pixar-Cartoon",
|
|
|
14 |
"Pixel-Art-XL",
|
15 |
]
|
16 |
|
@@ -27,6 +28,8 @@ def generate_txt2img(current_model, prompt, is_negative=False, image_style="None
|
|
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 |
|
|
|
11 |
"OpenJourney-V4",
|
12 |
"Anything-V4",
|
13 |
"Disney-Pixar-Cartoon",
|
14 |
+
"Rick-Roll-Style"
|
15 |
"Pixel-Art-XL",
|
16 |
]
|
17 |
|
|
|
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 |
|