Nymbo commited on
Commit
a336afa
1 Parent(s): e5616b5

Adding 40 new uncensored models. pls click for details

Browse files

Added 40 new uncensored models, (and a dropdown menu for model selection. No more scrolling through a sea of models on mobile). Some, like Proteus v0.4 have decent typography/written text capabilities. Just make sure to remove the "text" bit from the Negative Prompt.

Files changed (1) hide show
  1. app.py +173 -8
app.py CHANGED
@@ -14,8 +14,6 @@ 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", "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", "Proteus V0.2", "NSFW Hentai", "Lyriel 1.6", "Animagine XL 2.0", "Animagine XL 3.0", "CinemaEros", "Counterfeit 2.5", "Deliberate", "Deliberate 2", "Incursios 1.6", "Anime Detailer XL", "SexyToons", "CutesyAnime", "Vector Art XL", "PixelArt XL", "NewReality XL", "Anything 5.0", "Disney", "CleanLinearMix", "Redmond SDXL", "Elldreth Vivid Mix", "SDXL Niji", "Crystal Clear XL", "NightVision XL", "Playground 2", "Realistic Vision 5.1", "epiCRealism"]
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):
21
  if prompt == "" or prompt == None:
@@ -77,11 +75,94 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
77
 
78
  prompt = f"{prompt} | ultra detail, ultra elaboration, ultra quality, perfect."
79
  print(f'\033[1mГенерация {key}:\033[0m {prompt}')
 
 
 
80
  if model == 'DALL-E 3 XL':
81
  API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
82
  prompt = f"Ultra realistic porn. {prompt}"
83
- if model == 'OpenDalle':
84
- API_URL = "https://api-inference.huggingface.co/models/dataautogpt3/OpenDalle"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  if model == 'Playground 2':
86
  API_URL = "https://api-inference.huggingface.co/models/playgroundai/playground-v2-1024px-aesthetic"
87
  if model == 'Dreamshaper XL Turbo':
@@ -109,7 +190,7 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
109
  prompt = f"Anime porn. {prompt}"
110
  if model == 'epiCRealism':
111
  API_URL = "https://api-inference.huggingface.co/models/emilianJR/epiCRealism"
112
- if model == 'Proteus V0.2':
113
  API_URL = "https://api-inference.huggingface.co/models/dataautogpt3/ProteusV0.2"
114
  if model == 'PixelArt XL':
115
  API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
@@ -200,9 +281,93 @@ with gr.Blocks (theme=gr.themes.Default(primary_hue="pink", secondary_hue="pink"
200
  with gr.Row():
201
  text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
202
  with gr.Row():
203
- model = gr.Radio(label="Model", value="DALL-E 3 XL", choices=models_list)
204
-
205
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
 
207
  with gr.Tab("Advanced Settings"):
208
  with gr.Row():
 
14
  API_TOKEN = os.getenv("HF_READ_TOKEN")
15
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
16
  timeout = 100
 
 
17
 
18
  def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, gpt=False):
19
  if prompt == "" or prompt == None:
 
75
 
76
  prompt = f"{prompt} | ultra detail, ultra elaboration, ultra quality, perfect."
77
  print(f'\033[1mГенерация {key}:\033[0m {prompt}')
78
+
79
+ # UPDATE WITH MODEL API URL
80
+
81
  if model == 'DALL-E 3 XL':
82
  API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
83
  prompt = f"Ultra realistic porn. {prompt}"
84
+ # if model == 'ModelName':
85
+ # API_URL = "https://api-inference.huggingface.co/models/"
86
+ if model == 'ProteusV0.4':
87
+ API_URL = "https://api-inference.huggingface.co/models/dataautogpt3/ProteusV0.4"
88
+ if model == 'ProteusV0.3':
89
+ API_URL = "https://api-inference.huggingface.co/models/dataautogpt3/ProteusV0.3"
90
+ if model == 'AsianMix':
91
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/AsianMix"
92
+ if model == 'Stable Diffusion 2.1':
93
+ API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-2-1"
94
+ if model == 'Portrait Finetuned':
95
+ API_URL = "https://api-inference.huggingface.co/models/segmind/portrait-finetuned"
96
+ if model == 'MemeDiffusion':
97
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/MemeDiffusion"
98
+ if model == 'Aurora':
99
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/Aurora"
100
+ if model == 'ShortPrompts':
101
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/Stuff"
102
+ if model == 'Ascii Art':
103
+ API_URL = "https://api-inference.huggingface.co/models/CiroN2022/ascii-art"
104
+ if model == 'Analog':
105
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/Analog"
106
+ if model == 'pineappleAnimeMix':
107
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/pineappleAnimeMix"
108
+ if model == 'DreamAnything':
109
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/DreamAnything"
110
+ if model == 'Incredible World 2':
111
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/IncredibleWorld2"
112
+ if model == 'CyberRealistic':
113
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/CyberRealistic"
114
+ if model == 'photoMovieRealistic':
115
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/photoMovieRealistic"
116
+ if model == 'iffyMix':
117
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/iffyMix"
118
+ if model == 'Paragon':
119
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/Paragon"
120
+ if model == 'RealLife':
121
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/RealLife"
122
+ if model == 'Memento':
123
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/Memento"
124
+ if model == 'OpenGenDiffusers':
125
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/OpenGenDiffusers"
126
+ if model == 'NewMoon':
127
+ API_URL = "https://api-inference.huggingface.co/models/mirav/newmoon"
128
+ if model == 'InsaneM3U':
129
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/InsaneM3U"
130
+ if model == 'Maple Syrup':
131
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/MapleSyrup"
132
+ if model == 'NuipeniMix':
133
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/nuipenimix"
134
+ if model == 'Idle Fancy':
135
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/IdleFancy"
136
+ if model == 'Western Animation':
137
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/WesternAnimation"
138
+ if model == 'DreamWorks':
139
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/DreamWorks"
140
+ if model == 'Mistoon Anime 2':
141
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/mistoonAnime2"
142
+ if model == '3D Animation':
143
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/3Danimation"
144
+ if model == 'Liberte Redmond':
145
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/LiberteRedmond"
146
+ if model == 'Perfect Level 10':
147
+ API_URL = "https://api-inference.huggingface.co/models/digiplay/perfectlevel10"
148
+ if model == 'Tea':
149
+ API_URL = "https://api-inference.huggingface.co/models/Yntec/Tea"
150
+ if model == 'AnimeBoysXL 2':
151
+ API_URL = "https://api-inference.huggingface.co/models/Koolchh/AnimeBoysXL-v2.0"
152
+ if model == 'Photon':
153
+ API_URL = "https://api-inference.huggingface.co/models/digiplay/Photon_v1"
154
+ if model == 'Perfect Lewd Fantasy':
155
+ API_URL = "https://api-inference.huggingface.co/models/digiplay/perfectLewdFantasy_v1.01"
156
+ if model == 'RSM Porn XL':
157
+ API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/rsmpornxl"
158
+ if model == 'OmniGenXL NSFW':
159
+ API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/omnigenxl-nsfw-sfw"
160
+ if model == 'Pyros NSFW':
161
+ API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/pyros-nsfw-sdxl"
162
+ if model == 'SDXXXL':
163
+ API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/sdxxxl"
164
+ if model == 'SDXXXL 2':
165
+ API_URL = "https://api-inference.huggingface.co/models/stablediffusionapi/sdxxxl-v30-jan24"
166
  if model == 'Playground 2':
167
  API_URL = "https://api-inference.huggingface.co/models/playgroundai/playground-v2-1024px-aesthetic"
168
  if model == 'Dreamshaper XL Turbo':
 
190
  prompt = f"Anime porn. {prompt}"
191
  if model == 'epiCRealism':
192
  API_URL = "https://api-inference.huggingface.co/models/emilianJR/epiCRealism"
193
+ if model == 'ProteusV0.2':
194
  API_URL = "https://api-inference.huggingface.co/models/dataautogpt3/ProteusV0.2"
195
  if model == 'PixelArt XL':
196
  API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
 
281
  with gr.Row():
282
  text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
283
  with gr.Row():
284
+ with gr.Accordion("Models", open=True):
285
+ models_list = (
286
+
287
+ # UPDATE WITH NEW MODELS, ORDER MATTERS IN END USER UI
288
+ # Currently 77 models
289
+
290
+ "DALL-E 3 XL",
291
+ "SDXL 1.0",
292
+ "Photon",
293
+ "Incredible World 2",
294
+ "ShortPrompts",
295
+ "ProteusV0.4",
296
+ "ProteusV0.3",
297
+ "ProteusV0.2",
298
+ "Analog",
299
+ "RealLife",
300
+ "Paragon",
301
+ "iffyMix",
302
+ "Memento",
303
+ "photoMovieRealistic",
304
+ "CyberRealistic",
305
+ "DreamAnything",
306
+ "pineappleAnimeMix",
307
+ "Ascii Art",
308
+ "Aurora",
309
+ "MemeDiffusion",
310
+ "Portrait Finetuned",
311
+ "AsianMix",
312
+ "OpenGenDiffusers",
313
+ "NewMoon",
314
+ "InsaneM3U",
315
+ "Maple Syrup",
316
+ "NuipeniMix",
317
+ "Idle Fancy",
318
+ "Western Animation",
319
+ "DreamWorks",
320
+ "Mistoon Anime 2",
321
+ "3D Animation",
322
+ "Liberte Redmond",
323
+ "Perfect Level 10",
324
+ "Tea",
325
+ "AnimeBoysXL 2",
326
+ "Perfect Lewd Fantasy",
327
+ "RSM Porn XL",
328
+ "OmniGenXL NSFW",
329
+ "Pyros NSFW",
330
+ "SDXXXL",
331
+ "SDXXXL 2",
332
+ "epiCPhotoGasm",
333
+ "New Reality XL NSFW",
334
+ "Juggernaut XL",
335
+ "AbsoluteReality 1.8.1",
336
+ "SSD-1B",
337
+ "Dreamshaper XL Turbo",
338
+ "Edge of Realism",
339
+ "Realistic Vision v12",
340
+ "NSFW Hentai",
341
+ "Lyriel 1.6",
342
+ "Animagine XL 2.0",
343
+ "Animagine XL 3.0",
344
+ "CinemaEros",
345
+ "Counterfeit 2.5",
346
+ "Deliberate",
347
+ "Deliberate 2",
348
+ "Incursios 1.6",
349
+ "Anime Detailer XL",
350
+ "SexyToons",
351
+ "CutesyAnime",
352
+ "Vector Art XL",
353
+ "PixelArt XL",
354
+ "NewReality XL",
355
+ "Anything 5.0",
356
+ "Disney",
357
+ "CleanLinearMix",
358
+ "Redmond SDXL",
359
+ "Elldreth Vivid Mix",
360
+ "SDXL Niji",
361
+ "Crystal Clear XL",
362
+ "NightVision XL",
363
+ "Playground 2",
364
+ "Stable Diffusion 2.1",
365
+ "Realistic Vision 5.1",
366
+ "epiCRealism"
367
+ )
368
+ model = gr.Radio(label="Select a model below", value="DALL-E 3 XL", choices=models_list)
369
+
370
+
371
 
372
  with gr.Tab("Advanced Settings"):
373
  with gr.Row():