Commit
·
f2aba62
1
Parent(s):
c66f766
Update app.py
Browse files
app.py
CHANGED
@@ -72,16 +72,21 @@ with gr.Blocks(css=css) as myface:
|
|
72 |
with gr.Column(scale=100):
|
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 |
-
with gr.Column(style="width=800px"):
|
77 |
-
output1=gr.Image(label=(f"{current_model}"))
|
78 |
-
|
79 |
-
|
80 |
with gr.Row():
|
81 |
with gr.Column(scale=50):
|
82 |
input_text=gr.Textbox(label="Идея изображения:",lines=2)
|
83 |
use_short=gr.Button("Активировать идею")
|
84 |
see_prompts=gr.Button("Генерировать Magic промт")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
# Добавление article
|
87 |
gr.HTML(article)
|
|
|
72 |
with gr.Column(scale=100):
|
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 |
with gr.Row():
|
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 |
+
|
84 |
+
with gr.Row():
|
85 |
+
with gr.Column(style="width=800px"):
|
86 |
+
output1=gr.Image(label=(f"{current_model}"))
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
|
91 |
# Добавление article
|
92 |
gr.HTML(article)
|