Nymbo commited on
Commit
9d2dca5
1 Parent(s): b8769f7

adding Proteus V0.2

Browse files
Files changed (1) hide show
  1. app.py +3 -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", "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", "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):
@@ -109,6 +109,8 @@ 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 == 'PixelArt XL':
113
  API_URL = "https://api-inference.huggingface.co/models/nerijs/pixel-art-xl"
114
  if model == 'NewReality 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):
 
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"
116
  if model == 'NewReality XL':