Nymbo commited on
Commit
7574f1d
1 Parent(s): 48e369f

added a bunch of new models

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -14,7 +14,7 @@ API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
14
  API_TOKEN = os.getenv("HF_READ_TOKEN")
15
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
16
  timeout = 100
17
- 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"]
18
 
19
 
20
  def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, gpt=False):
@@ -137,6 +137,22 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
137
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/crystal-clear-xlv1"
138
  if model == 'NightVision XL':
139
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/NightVision_XL"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
 
141
 
142
  payload = {
 
14
  API_TOKEN = os.getenv("HF_READ_TOKEN")
15
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
16
  timeout = 100
17
+ models_list = ["DALL-E 3 XL", "OpenDalle", "epiCPhotoGasm", "New Reality XL NSFW", "Juggernaut XL", "SDXL 1.0", "AbsoluteReality 1.8.1", "SSD-1B", "Dreamshaper XL Turbo", "Edge of Realism", "Realistic Vision v12", "Playground 2", "NSFW Hentai", "Lyriel 1.6", "Animagine XL 2.0", "CinemaEros", "Counterfeit 2.5", "Realistic Vision 5.1", "Deliberate", "Deliberate 2", "Incursios 1.6", "Anime Detailer XL", "SexyToons", "CutesyAnime", "Vector Art XL", "epiCRealism", "PixelArt XL", "NewReality XL", "Anything 5.0", "Disney", "CleanLinearMix", "Redmond SDXL", "Elldreth Vivid Mix", "SDXL Niji", "Crystal Clear XL", "NightVision XL"]
18
 
19
 
20
  def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, gpt=False):
 
137
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/crystal-clear-xlv1"
138
  if model == 'NightVision XL':
139
  API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/NightVision_XL"
140
+ if model == 'Elldreth Vivid Mix':
141
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/elldrethSVividMix"
142
+ if model == 'Deliberate 2':
143
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/Deliberate2"
144
+ if model == 'Deliberate':
145
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/Deliberate"
146
+ if model == 'SexyToons':
147
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/sexyToons"
148
+ if model == 'Realistic Vision v12':
149
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/realistic-vision-v12"
150
+ if model == 'CinemaEros':
151
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/CinemaEros"
152
+ if model == 'CutesyAnime':
153
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/CutesyAnime"
154
+ if model == 'epiCPhotoGasm':
155
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/epiCPhotoGasm"
156
 
157
 
158
  payload = {