Nymbo commited on
Commit
b6a3ebe
·
verified ·
1 Parent(s): 8788aad

adding Animagine 4.0, welcome back weebs

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -54,6 +54,9 @@ def query(prompt, model, custom_lora, is_negative=False, steps=35, cfg_scale=7,
54
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
55
  if model == 'FLUX.1 [Schnell]':
56
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
 
 
 
57
  if model == 'Flux Icon Kit':
58
  API_URL = "https://api-inference.huggingface.co/models/strangerzonehf/Flux-Icon-Kit-LoRA"
59
  prompt = f"Icon Kit, {prompt}"
@@ -405,6 +408,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme_5') as dalle:
405
  "Analog",
406
  "Analog Madness Realistic v7",
407
  "Analog Redmond",
 
408
  "Archfey Anime",
409
  "Ascii Art",
410
  "Brain Melt Acid Art",
 
54
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
55
  if model == 'FLUX.1 [Schnell]':
56
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
57
+ if model == 'Animagine 4.0':
58
+ API_URL = "https://api-inference.huggingface.co/models/cagliostrolab/animagine-xl-4.0"
59
+ prompt = f"masterpiece, high score, great score, absurdres, {prompt}"
60
  if model == 'Flux Icon Kit':
61
  API_URL = "https://api-inference.huggingface.co/models/strangerzonehf/Flux-Icon-Kit-LoRA"
62
  prompt = f"Icon Kit, {prompt}"
 
408
  "Analog",
409
  "Analog Madness Realistic v7",
410
  "Analog Redmond",
411
+ "Animagine 4.0",
412
  "Archfey Anime",
413
  "Ascii Art",
414
  "Brain Melt Acid Art",