Update app.py
Browse files
app.py
CHANGED
@@ -94,11 +94,16 @@ with gr.Blocks(css=css) as dalle:
|
|
94 |
|
95 |
|
96 |
with gr.Tab("Расширенные настройки"):
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
|
104 |
with gr.Row():
|
|
|
94 |
|
95 |
|
96 |
with gr.Tab("Расширенные настройки"):
|
97 |
+
gr.Row():
|
98 |
+
negative_prompt = gr.Textbox(label="Negative Prompt", 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")
|
99 |
+
gr.Row():
|
100 |
+
steps = gr.Slider(label="Sampling steps", value=35, minimum=1, maximum=100, step=1)
|
101 |
+
gr.Row():
|
102 |
+
cfg = gr.Slider(label="CFG Scale", value=7, minimum=1, maximum=20, step=1)
|
103 |
+
gr.Row():
|
104 |
+
method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
|
105 |
+
gr.Row():
|
106 |
+
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
|
107 |
|
108 |
|
109 |
with gr.Row():
|