Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def query(prompt, model, is_negative=False, steps=1, cfg_scale=6, seed=None):
|
|
49 |
if model == 'NewReality XL':
|
50 |
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/newrealityxl-global-nsfw"
|
51 |
if model == 'Anything 5.0':
|
52 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
53 |
|
54 |
payload = {
|
55 |
"inputs": prompt,
|
|
|
49 |
if model == 'NewReality XL':
|
50 |
API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/newrealityxl-global-nsfw"
|
51 |
if model == 'Anything 5.0':
|
52 |
+
API_URL = "https://api-inference.huggingface.co/models/hogiahien/anything-v5-edited"
|
53 |
|
54 |
payload = {
|
55 |
"inputs": prompt,
|