Rooni commited on
Commit
0fee75a
1 Parent(s): 753b0e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -11,7 +11,7 @@ API_URL = "https://api-inference.huggingface.co/models/openskyml/dalle-3-xl"
11
  API_TOKEN = os.getenv("HF_READ_TOKEN")
12
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
13
  timeout = 100
14
- models_list = ["AbsoluteReality 1.8.1", "DALL-E 3 XL", "Playground 2", "Openjourney 4", "Lyriel 1.6", "Counterfeit 2.5", "Realistic Vision 5.1", "Incursios 1.6", "Vector Art XL", "epiCRealism", "PixelArt XL", "NewReality XL", "Anything 5.0", "Disney", "CleanLinearMix", "OrangeMixs"]
15
 
16
  # PLEASE ❤ like ❤ this space. Please like me. I am 12 years old, one of my projects is: https://ai-hub.rf.gd . I live in Russia, I don't know English very well. Therefore, I apologize that there is only Russian here, but I think it will not be difficult to translate all this. (For example, using gpt)
17
 
@@ -62,10 +62,13 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
62
  API_URL = "https://api-inference.huggingface.co/models/DoctorDiffusion/doctor-diffusion-s-controllable-vector-art-xl-lora"
63
  if model == 'Disney':
64
  API_URL = "https://api-inference.huggingface.co/models/goofyai/disney_style_xl"
 
65
  if model == 'CleanLinearMix':
66
  API_URL = "https://api-inference.huggingface.co/models/digiplay/CleanLinearMix_nsfw"
67
  if model == 'OrangeMixs':
68
  API_URL = "https://api-inference.huggingface.co/models/WarriorMama777/OrangeMixs"
 
 
69
 
70
  payload = {
71
  "inputs": prompt,
 
11
  API_TOKEN = os.getenv("HF_READ_TOKEN")
12
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
13
  timeout = 100
14
+ models_list = ["AbsoluteReality 1.8.1", "DALL-E 3 XL", "Playground 2", "Openjourney 4", "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", "OrangeMixs"]
15
 
16
  # PLEASE ❤ like ❤ this space. Please like me. I am 12 years old, one of my projects is: https://ai-hub.rf.gd . I live in Russia, I don't know English very well. Therefore, I apologize that there is only Russian here, but I think it will not be difficult to translate all this. (For example, using gpt)
17
 
 
62
  API_URL = "https://api-inference.huggingface.co/models/DoctorDiffusion/doctor-diffusion-s-controllable-vector-art-xl-lora"
63
  if model == 'Disney':
64
  API_URL = "https://api-inference.huggingface.co/models/goofyai/disney_style_xl"
65
+ prompt = f"Disney стиль. {prompt}"
66
  if model == 'CleanLinearMix':
67
  API_URL = "https://api-inference.huggingface.co/models/digiplay/CleanLinearMix_nsfw"
68
  if model == 'OrangeMixs':
69
  API_URL = "https://api-inference.huggingface.co/models/WarriorMama777/OrangeMixs"
70
+
71
+ prompt f"{prompt} | ультра детализация, ультра проработка, ультра качество, идеально."
72
 
73
  payload = {
74
  "inputs": prompt,