Rooni commited on
Commit
cb06c15
1 Parent(s): 42dba57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -27,11 +27,9 @@ mmodels = {
27
  "FLUX Animeo v1": "strangerzonehf/Flux-Animeo-v1-LoRA",
28
  "Fractured Line Flare": "prithivMLmods/Fractured-Line-Flare",
29
  "Castor 3D Portrait Flux": "prithivMLmods/Castor-3D-Portrait-Flux-LoRA",
30
- "NMaster": "pimpilikipilapi1/NSFW_master",
31
- "Flux UC": "prashanth970/flux-lora-uncensored"
32
  }
33
  timeout = 125
34
- # PLEASE ❤ like ❤ this space. Please like me. I am 14 years old, one of my projects is: https://yufic.ru . 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)
35
 
36
  def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, gpt=False):
37
  if prompt == "" or prompt == None:
@@ -162,7 +160,7 @@ with gr.Blocks(css=css) as dalle:
162
  with gr.Row():
163
  negative_prompt = gr.Textbox(label="Исключения", placeholder="Чего не должно быть на изображении", value="[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness", lines=3, elem_id="negative-prompt-text-input")
164
  with gr.Row():
165
- steps = gr.Slider(label="Количество шагов обработки", value=35, minimum=1, maximum=70, step=1)
166
  with gr.Row():
167
  cfg = gr.Slider(label="Совпадение с описанием", value=7, minimum=1, maximum=20, step=0.1)
168
  with gr.Row():
 
27
  "FLUX Animeo v1": "strangerzonehf/Flux-Animeo-v1-LoRA",
28
  "Fractured Line Flare": "prithivMLmods/Fractured-Line-Flare",
29
  "Castor 3D Portrait Flux": "prithivMLmods/Castor-3D-Portrait-Flux-LoRA",
30
+ "NMaster": "pimpilikipilapi1/NSFW_master"
 
31
  }
32
  timeout = 125
 
33
 
34
  def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, gpt=False):
35
  if prompt == "" or prompt == None:
 
160
  with gr.Row():
161
  negative_prompt = gr.Textbox(label="Исключения", placeholder="Чего не должно быть на изображении", value="[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness", lines=3, elem_id="negative-prompt-text-input")
162
  with gr.Row():
163
+ steps = gr.Slider(label="Количество шагов обработки", value=25, minimum=1, maximum=70, step=1)
164
  with gr.Row():
165
  cfg = gr.Slider(label="Совпадение с описанием", value=7, minimum=1, maximum=20, step=0.1)
166
  with gr.Row():