Commit
·
49801d6
1
Parent(s):
e737602
Update app.py
Browse files
app.py
CHANGED
|
@@ -143,18 +143,18 @@ with gr.Blocks() as myface:
|
|
| 143 |
|
| 144 |
with gr.Row():
|
| 145 |
with gr.Row():
|
| 146 |
-
input_text = gr.Textbox(label="Идея
|
| 147 |
# Model selection dropdown
|
| 148 |
model_name1 = gr.Dropdown(
|
| 149 |
-
label="
|
| 150 |
choices=[m["name"] for m in models],
|
| 151 |
type="index",
|
| 152 |
value=current_model["name"],
|
| 153 |
interactive=True,
|
| 154 |
)
|
| 155 |
with gr.Row():
|
| 156 |
-
see_prompts = gr.Button("
|
| 157 |
-
run = gr.Button("Создать
|
| 158 |
|
| 159 |
with gr.Row():
|
| 160 |
output1 = gr.Image(label="")
|
|
|
|
| 143 |
|
| 144 |
with gr.Row():
|
| 145 |
with gr.Row():
|
| 146 |
+
input_text = gr.Textbox(label="Идея пейзажа 🖼", placeholder="", lines=1)
|
| 147 |
# Model selection dropdown
|
| 148 |
model_name1 = gr.Dropdown(
|
| 149 |
+
label="Палитра 🎨",
|
| 150 |
choices=[m["name"] for m in models],
|
| 151 |
type="index",
|
| 152 |
value=current_model["name"],
|
| 153 |
interactive=True,
|
| 154 |
)
|
| 155 |
with gr.Row():
|
| 156 |
+
see_prompts = gr.Button("Сгенерировать промт")
|
| 157 |
+
run = gr.Button("Создать пейзаж", variant="primary")
|
| 158 |
|
| 159 |
with gr.Row():
|
| 160 |
output1 = gr.Image(label="")
|