Nymbo commited on
Commit
738cffc
1 Parent(s): 2eabd10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -12,7 +12,7 @@ API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
12
  API_TOKEN = os.getenv("HF_READ_TOKEN")
13
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
14
  timeout = 100
15
- models_list = ["DALL-E 3 XL", "OpenDalle", "New Reality XL NSFW", "Juggernaut XL", "SDXL 1.0", "AbsoluteReality 1.8.1", "SSD-1B", "Dreamshaper XL Turbo", "Edge of Realism", "Playground 2", "NSFW Hentai", "Lyriel 1.6", "Animagine XL 2.0", "Counterfeit 2.5", "Realistic Vision 5.1", "Incursios 1.6", "Anime Detailer XL", "Vector Art XL", "epiCRealism", "PixelArt XL", "NewReality XL", "Anything 5.0", "Disney", "CleanLinearMix", "Redmond SDXL"]
16
 
17
  # OP's other AI projects: https://ai-hub.rf.gd .
18
 
@@ -130,6 +130,12 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
130
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/newrealityxl-global-nsfw"
131
  if model == 'Juggernaut XL':
132
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/juggernaut-xl-v7"
 
 
 
 
 
 
133
 
134
 
135
  payload = {
 
12
  API_TOKEN = os.getenv("HF_READ_TOKEN")
13
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
14
  timeout = 100
15
+ models_list = ["DALL-E 3 XL", "OpenDalle", "New Reality XL NSFW", "Juggernaut XL", "SDXL 1.0", "AbsoluteReality 1.8.1", "SSD-1B", "Dreamshaper XL Turbo", "Edge of Realism", "Playground 2", "NSFW Hentai", "Lyriel 1.6", "Animagine XL 2.0", "Counterfeit 2.5", "Realistic Vision 5.1", "Incursios 1.6", "Anime Detailer XL", "Vector Art XL", "epiCRealism", "PixelArt XL", "NewReality XL", "Anything 5.0", "Disney", "CleanLinearMix", "Redmond SDXL", "SDXL Niji", "Crystal Clear XL", "NightVision XL"]
16
 
17
  # OP's other AI projects: https://ai-hub.rf.gd .
18
 
 
130
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/newrealityxl-global-nsfw"
131
  if model == 'Juggernaut XL':
132
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/juggernaut-xl-v7"
133
+ if model == 'SDXL Niji':
134
+ API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/SDXL_Niji_SE"
135
+ if model == 'Crystal Clear XL':
136
+ API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/crystal-clear-xlv1"
137
+ if model == 'NightVision XL':
138
+ API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/NightVision_XL"
139
 
140
 
141
  payload = {