Update app.py
Browse files
app.py
CHANGED
@@ -244,7 +244,7 @@ with gr.Blocks(css=css) as demo:
|
|
244 |
batch_count = gr.Slider(label="Batch Count", maximum=1, value=1)
|
245 |
|
246 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
247 |
-
seed = gr.
|
248 |
|
249 |
|
250 |
with gr.Column(scale=2):
|
@@ -262,12 +262,10 @@ with gr.Blocks(css=css) as demo:
|
|
262 |
|
263 |
with gr.Row():
|
264 |
with gr.Column(scale=3):
|
265 |
-
with gr.Tab("
|
266 |
i2i_image_input = gr.Image(type="pil")
|
267 |
|
268 |
with gr.Row():
|
269 |
-
with gr.Column(scale=1):
|
270 |
-
i2i_sampler = gr.Dropdown(value="Euler a", show_label=True, label="Sampling Method", choices=prodia_client.list_samplers())
|
271 |
|
272 |
with gr.Column(scale=1):
|
273 |
i2i_steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=30, value=25, step=1)
|
@@ -277,6 +275,16 @@ with gr.Blocks(css=css) as demo:
|
|
277 |
i2i_width = gr.Slider(label="Ширина", maximum=1024, value=512, step=8)
|
278 |
i2i_height = gr.Slider(label="Высота", maximum=1024, value=512, step=8)
|
279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
with gr.Column(scale=1):
|
281 |
i2i_batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
282 |
i2i_batch_count = gr.Slider(label="Batch Count", maximum=1, value=1)
|
|
|
244 |
batch_count = gr.Slider(label="Batch Count", maximum=1, value=1)
|
245 |
|
246 |
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, value=7, step=1)
|
247 |
+
seed = gr.Slider(label="Seed", minimum=-1, maximum=10000000, value=-1)
|
248 |
|
249 |
|
250 |
with gr.Column(scale=2):
|
|
|
262 |
|
263 |
with gr.Row():
|
264 |
with gr.Column(scale=3):
|
265 |
+
with gr.Tab("Основные настройки"):
|
266 |
i2i_image_input = gr.Image(type="pil")
|
267 |
|
268 |
with gr.Row():
|
|
|
|
|
269 |
|
270 |
with gr.Column(scale=1):
|
271 |
i2i_steps = gr.Slider(label="Sampling Steps", minimum=1, maximum=30, value=25, step=1)
|
|
|
275 |
i2i_width = gr.Slider(label="Ширина", maximum=1024, value=512, step=8)
|
276 |
i2i_height = gr.Slider(label="Высота", maximum=1024, value=512, step=8)
|
277 |
|
278 |
+
|
279 |
+
with gr.Tab("Расширенные настройки"):
|
280 |
+
i2i_image_input = gr.Image(type="pil")
|
281 |
+
|
282 |
+
with gr.Row():
|
283 |
+
with gr.Column(scale=1):
|
284 |
+
i2i_sampler = gr.Dropdown(value="Euler a", show_label=True, label="Sampling Method", choices=prodia_client.list_samplers())
|
285 |
+
|
286 |
+
|
287 |
+
with gr.Row():
|
288 |
with gr.Column(scale=1):
|
289 |
i2i_batch_size = gr.Slider(label="Batch Size", maximum=1, value=1)
|
290 |
i2i_batch_count = gr.Slider(label="Batch Count", maximum=1, value=1)
|