Commit
•
cfb5385
1
Parent(s):
d46ef50
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,10 @@ with gr.Blocks(css=css) as myface:
|
|
65 |
use_short=gr.Button("Активировать идею")
|
66 |
see_prompts=gr.Button("Генерировать Magic промт")
|
67 |
|
68 |
-
|
|
|
|
|
|
|
69 |
with gr.Row():
|
70 |
with gr.Column(scale=100):
|
71 |
magic1=gr.Textbox(label="Magic промт:", lines=4, placeholder = "На английском")
|
@@ -75,10 +78,7 @@ with gr.Blocks(css=css) as myface:
|
|
75 |
background: #499afc !important;
|
76 |
}</style>""")
|
77 |
run=gr.Button("Создать изображение")
|
78 |
-
|
79 |
-
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 |
|
|
|
65 |
use_short=gr.Button("Активировать идею")
|
66 |
see_prompts=gr.Button("Генерировать Magic промт")
|
67 |
|
68 |
+
with gr.Row():
|
69 |
+
with gr.Column(scale=100):
|
70 |
+
#Model selection dropdown
|
71 |
+
model_name1 = gr.Dropdown(label="Модель", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
72 |
with gr.Row():
|
73 |
with gr.Column(scale=100):
|
74 |
magic1=gr.Textbox(label="Magic промт:", lines=4, placeholder = "На английском")
|
|
|
78 |
background: #499afc !important;
|
79 |
}</style>""")
|
80 |
run=gr.Button("Создать изображение")
|
81 |
+
|
|
|
|
|
|
|
82 |
|
83 |
|
84 |
|