Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ with gr.Blocks(css=css) as dalle:
|
|
150 |
with gr.Row():
|
151 |
with gr.Column(elem_id="prompt-container"):
|
152 |
with gr.Row():
|
153 |
-
text_prompt = gr.Textbox(label="
|
154 |
with gr.Row():
|
155 |
with gr.Accordion(label="Модель", open=True):
|
156 |
model = gr.Radio(show_label=False, value="FLUX.1 dev", choices=list(mmodels.keys()))
|
@@ -159,17 +159,17 @@ with gr.Blocks(css=css) as dalle:
|
|
159 |
|
160 |
with gr.Tab("Расширенные настройки"):
|
161 |
with gr.Row():
|
162 |
-
negative_prompt = gr.Textbox(label="
|
163 |
with gr.Row():
|
164 |
-
steps = gr.Slider(label="
|
165 |
with gr.Row():
|
166 |
-
cfg = gr.Slider(label="
|
167 |
with gr.Row():
|
168 |
-
method = gr.Radio(label="Sampling method", value="
|
169 |
with gr.Row():
|
170 |
-
seed = gr.Slider(label="
|
171 |
with gr.Row():
|
172 |
-
gpt = gr.Checkbox(label="
|
173 |
|
174 |
with gr.Tab("Информация"):
|
175 |
with gr.Row():
|
|
|
150 |
with gr.Row():
|
151 |
with gr.Column(elem_id="prompt-container"):
|
152 |
with gr.Row():
|
153 |
+
text_prompt = gr.Textbox(label="Описание изображения", placeholder="Милый кот", lines=3, elem_id="prompt-text-input")
|
154 |
with gr.Row():
|
155 |
with gr.Accordion(label="Модель", open=True):
|
156 |
model = gr.Radio(show_label=False, value="FLUX.1 dev", choices=list(mmodels.keys()))
|
|
|
159 |
|
160 |
with gr.Tab("Расширенные настройки"):
|
161 |
with gr.Row():
|
162 |
+
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")
|
163 |
with gr.Row():
|
164 |
+
steps = gr.Slider(label="Количество шагов обработки", value=35, minimum=1, maximum=70, step=1)
|
165 |
with gr.Row():
|
166 |
+
cfg = gr.Slider(label="Совпадение с описанием", value=7, minimum=1, maximum=20, step=0.1)
|
167 |
with gr.Row():
|
168 |
+
method = gr.Radio(label="Метод обработки (Sampling method)", value="Heun", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
|
169 |
with gr.Row():
|
170 |
+
seed = gr.Slider(label="Сид", value=-1, minimum=-1, maximum=999999, step=1)
|
171 |
with gr.Row():
|
172 |
+
gpt = gr.Checkbox(label="Улучшение описания")
|
173 |
|
174 |
with gr.Tab("Информация"):
|
175 |
with gr.Row():
|