Spaces:
SHOOL45
/
Runtime error

Rooni commited on
Commit
9e2ce11
1 Parent(s): 8f94034

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/stablediffusionapi/anything-v5"
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,