Commit
·
4cd1220
1
Parent(s):
c8bd14d
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,25 +102,25 @@ with gr.Blocks() as myface:
|
|
| 102 |
interactive=True,
|
| 103 |
)
|
| 104 |
with gr.Row():
|
| 105 |
-
see_prompts = gr.Button("
|
| 106 |
-
run = gr.Button("
|
| 107 |
|
| 108 |
with gr.Row():
|
| 109 |
output1 = gr.Image(label="")
|
| 110 |
output2 = gr.Image(label="")
|
| 111 |
output3 = gr.Image(label="")
|
| 112 |
with gr.Row():
|
| 113 |
-
magic1 = gr.Textbox(label="
|
| 114 |
-
magic2 = gr.Textbox(label="
|
| 115 |
-
magic3 = gr.Textbox(label="
|
| 116 |
with gr.Row():
|
| 117 |
output4 = gr.Image(label="")
|
| 118 |
output5 = gr.Image(label="")
|
| 119 |
output6 = gr.Image(label="")
|
| 120 |
with gr.Row():
|
| 121 |
-
magic4 = gr.Textbox(label="
|
| 122 |
-
magic5 = gr.Textbox(label="
|
| 123 |
-
magic6 = gr.Textbox(label="
|
| 124 |
|
| 125 |
model_name1.change(set_model, inputs=model_name1, outputs=[output1, output2, output3, output4, output5, output6])
|
| 126 |
|
|
|
|
| 102 |
interactive=True,
|
| 103 |
)
|
| 104 |
with gr.Row():
|
| 105 |
+
see_prompts = gr.Button("Генерировать промт")
|
| 106 |
+
run = gr.Button("Создать изображение", variant="primary")
|
| 107 |
|
| 108 |
with gr.Row():
|
| 109 |
output1 = gr.Image(label="")
|
| 110 |
output2 = gr.Image(label="")
|
| 111 |
output3 = gr.Image(label="")
|
| 112 |
with gr.Row():
|
| 113 |
+
magic1 = gr.Textbox(label="Magic промт", lines=2)
|
| 114 |
+
magic2 = gr.Textbox(label="Magic промт", lines=2)
|
| 115 |
+
magic3 = gr.Textbox(label="Magic промт", lines=2)
|
| 116 |
with gr.Row():
|
| 117 |
output4 = gr.Image(label="")
|
| 118 |
output5 = gr.Image(label="")
|
| 119 |
output6 = gr.Image(label="")
|
| 120 |
with gr.Row():
|
| 121 |
+
magic4 = gr.Textbox(label="Magic промт", lines=2)
|
| 122 |
+
magic5 = gr.Textbox(label="Magic промт", lines=2)
|
| 123 |
+
magic6 = gr.Textbox(label="Magic промт", lines=2)
|
| 124 |
|
| 125 |
model_name1.change(set_model, inputs=model_name1, outputs=[output1, output2, output3, output4, output5, output6])
|
| 126 |
|