Update app.py
Browse files
app.py
CHANGED
@@ -56,20 +56,9 @@ def main():
|
|
56 |
interface = gr.Interface(
|
57 |
generate_image,
|
58 |
[
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
]),
|
63 |
-
gr.Tab("Расширенные настройки", [
|
64 |
-
{"negative_prompt": negative_prompt},
|
65 |
-
{"sampling_method": sampling_method},
|
66 |
-
{"sampling_steps": sampling_steps},
|
67 |
-
{"cfg_scale": cfg_scale},
|
68 |
-
{"seed": seed},
|
69 |
-
]),
|
70 |
-
gr.Tab("Улучшение качества", [
|
71 |
-
{"algorithm": algorithm},
|
72 |
-
]),
|
73 |
],
|
74 |
outputs=gr.Image(),
|
75 |
title="Gradio Image Generator",
|
|
|
56 |
interface = gr.Interface(
|
57 |
generate_image,
|
58 |
[
|
59 |
+
{"name": "Базовые настройки", "components": [prompt, models]},
|
60 |
+
{"name": "Расширенные настройки", "components": [negative_prompt, sampling_method, sampling_steps, cfg_scale, seed]},
|
61 |
+
{"name": "Улучшение качества", "components": [algorithm]},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
],
|
63 |
outputs=gr.Image(),
|
64 |
title="Gradio Image Generator",
|