Commit
·
d46ef50
1
Parent(s):
b5bbb0c
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,6 +58,13 @@ with gr.Blocks(css=css) as myface:
|
|
| 58 |
<h4>5. </h4></div>
|
| 59 |
""")
|
| 60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
with gr.Row():
|
| 63 |
with gr.Column(scale=100):
|
|
@@ -73,11 +80,7 @@ with gr.Blocks(css=css) as myface:
|
|
| 73 |
#Model selection dropdown
|
| 74 |
model_name1 = gr.Dropdown(label="Модель", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
| 75 |
|
| 76 |
-
|
| 77 |
-
with gr.Column(scale=50):
|
| 78 |
-
input_text=gr.Textbox(label="Идея изображения:",lines=2)
|
| 79 |
-
use_short=gr.Button("Активировать идею")
|
| 80 |
-
see_prompts=gr.Button("Генерировать Magic промт")
|
| 81 |
|
| 82 |
|
| 83 |
|
|
|
|
| 58 |
<h4>5. </h4></div>
|
| 59 |
""")
|
| 60 |
|
| 61 |
+
|
| 62 |
+
with gr.Row():
|
| 63 |
+
with gr.Column(scale=50):
|
| 64 |
+
input_text=gr.Textbox(label="Идея изображения:",lines=2)
|
| 65 |
+
use_short=gr.Button("Активировать идею")
|
| 66 |
+
see_prompts=gr.Button("Генерировать Magic промт")
|
| 67 |
+
|
| 68 |
|
| 69 |
with gr.Row():
|
| 70 |
with gr.Column(scale=100):
|
|
|
|
| 80 |
#Model selection dropdown
|
| 81 |
model_name1 = gr.Dropdown(label="Модель", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
| 82 |
|
| 83 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
|
| 86 |
|