Nymbo commited on
Commit
b8769f7
1 Parent(s): fbeacee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -94,6 +94,7 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
94
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/lyrielv16"
95
  if model == 'Animagine XL 3.0':
96
  API_URL = "https://api-inference.huggingface.co/models/cagliostrolab/animagine-xl-3.0"
 
97
  if model == 'Animagine XL 2.0':
98
  API_URL = "https://api-inference.huggingface.co/models/Linaqruf/animagine-xl-2.0"
99
  prompt = f"Anime porn. {prompt}"
 
94
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/lyrielv16"
95
  if model == 'Animagine XL 3.0':
96
  API_URL = "https://api-inference.huggingface.co/models/cagliostrolab/animagine-xl-3.0"
97
+ prompt = f"Anime porn. {prompt}"
98
  if model == 'Animagine XL 2.0':
99
  API_URL = "https://api-inference.huggingface.co/models/Linaqruf/animagine-xl-2.0"
100
  prompt = f"Anime porn. {prompt}"