Rooni commited on
Commit
6b7d962
1 Parent(s): e4ba354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -40,6 +40,7 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
40
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/lyrielv16"
41
  if model == 'Animagine XL 2.0':
42
  API_URL = "https://api-inference.huggingface.co/models/Linaqruf/animagine-xl-2.0"
 
43
  if model == 'Counterfeit 2.5':
44
  API_URL = "https://api-inference.huggingface.co/models/gsdf/Counterfeit-V2.5"
45
  if model == 'Realistic Vision 5.1':
@@ -48,6 +49,7 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
48
  API_URL = "https://api-inference.huggingface.co/models/digiplay/incursiosMemeDiffusion_v1.6"
49
  if model == 'Anime Detailer XL':
50
  API_URL = "https://api-inference.huggingface.co/models/Linaqruf/anime-detailer-xl-lora"
 
51
  if model == 'epiCRealism':
52
  API_URL = "https://api-inference.huggingface.co/models/emilianJR/epiCRealism"
53
  if model == 'PixelArt XL':
 
40
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/lyrielv16"
41
  if model == 'Animagine XL 2.0':
42
  API_URL = "https://api-inference.huggingface.co/models/Linaqruf/animagine-xl-2.0"
43
+ prompt = f"Anime. {prompt}"
44
  if model == 'Counterfeit 2.5':
45
  API_URL = "https://api-inference.huggingface.co/models/gsdf/Counterfeit-V2.5"
46
  if model == 'Realistic Vision 5.1':
 
49
  API_URL = "https://api-inference.huggingface.co/models/digiplay/incursiosMemeDiffusion_v1.6"
50
  if model == 'Anime Detailer XL':
51
  API_URL = "https://api-inference.huggingface.co/models/Linaqruf/anime-detailer-xl-lora"
52
+ prompt = f"Anime. {prompt}"
53
  if model == 'epiCRealism':
54
  API_URL = "https://api-inference.huggingface.co/models/emilianJR/epiCRealism"
55
  if model == 'PixelArt XL':