Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def query(prompt, model, is_negative=False, width, height, steps=20, cfg_scale=7
|
|
| 48 |
API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
| 49 |
if model == 'NewReality XL':
|
| 50 |
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/newrealityxl-global-nsfw"
|
| 51 |
-
|
| 52 |
payload = {
|
| 53 |
"inputs": prompt,
|
| 54 |
"is_negative": is_negative,
|
|
|
|
| 48 |
API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
|
| 49 |
if model == 'NewReality XL':
|
| 50 |
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/newrealityxl-global-nsfw"
|
| 51 |
+
|
| 52 |
payload = {
|
| 53 |
"inputs": prompt,
|
| 54 |
"is_negative": is_negative,
|