Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -122,13 +122,13 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
|
|
122 |
if model == 'Arcane':
|
123 |
API_URL = "https://api-inference.huggingface.co/models/nitrosocke/Arcane-Diffusion"
|
124 |
if model == 'SDXL 1.0':
|
125 |
-
API_URL = "https://api-inference.huggingface.co/models/stable-diffusion-xl-base-1.0"
|
126 |
if model == 'Edge of Realism':
|
127 |
API_URL = "https://api-inference.huggingface.co/models/Yntec/edgeOfRealism"
|
128 |
if model == 'NSFW Hentai':
|
129 |
-
API_URL = "https://api-inference.huggingface.co/models/explicit-freedom-nsfw-wai"
|
130 |
if model == 'New Reality XL NSFW':
|
131 |
-
API_URL = "https://api-inference.huggingface.co/models/newrealityxl-global-nsfw"
|
132 |
if model == 'Juggernaut XL':
|
133 |
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/juggernaut-xl-v7"
|
134 |
|
|
|
122 |
if model == 'Arcane':
|
123 |
API_URL = "https://api-inference.huggingface.co/models/nitrosocke/Arcane-Diffusion"
|
124 |
if model == 'SDXL 1.0':
|
125 |
+
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/stable-diffusion-xl-base-1.0"
|
126 |
if model == 'Edge of Realism':
|
127 |
API_URL = "https://api-inference.huggingface.co/models/Yntec/edgeOfRealism"
|
128 |
if model == 'NSFW Hentai':
|
129 |
+
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/explicit-freedom-nsfw-wai"
|
130 |
if model == 'New Reality XL NSFW':
|
131 |
+
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/newrealityxl-global-nsfw"
|
132 |
if model == 'Juggernaut XL':
|
133 |
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/juggernaut-xl-v7"
|
134 |
|