Spaces:
Runtime error
Runtime error
Commit
·
ac650cc
1
Parent(s):
1d0df7e
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ list_models = [
|
|
9 |
"SD-1.5",
|
10 |
"SDXL-1.0",
|
11 |
"OpenJourney-V4",
|
|
|
12 |
"Pixel-Art-XL",
|
13 |
]
|
14 |
|
@@ -21,6 +22,8 @@ def generate_txt2img(current_model, prompt, is_negative=False, image_style="None
|
|
21 |
API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-xl-base-1.0"
|
22 |
elif current_model == "OpenJourney-V4":
|
23 |
API_URL = "https://api-inference.huggingface.co/models/prompthero/openjourney"
|
|
|
|
|
24 |
elif current_model == "Pixel-Art-XL":
|
25 |
API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
26 |
|
|
|
9 |
"SD-1.5",
|
10 |
"SDXL-1.0",
|
11 |
"OpenJourney-V4",
|
12 |
+
"Animagine-XL"
|
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 == "Animagine-XL":
|
26 |
+
API_URL = "https://api-inference.huggingface.co/models/Linaqruf/animagine-xl"
|
27 |
elif current_model == "Pixel-Art-XL":
|
28 |
API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
29 |
|