Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,18 +14,19 @@ footer {visibility: hidden !important;}
|
|
14 |
|
15 |
|
16 |
# ui
|
17 |
-
|
|
|
18 |
with gr.Row():
|
19 |
with gr.Column(scale=3):
|
20 |
-
enter_one = gr.Textbox(placeholder="
|
21 |
-
with gr.Tab("
|
22 |
with gr.Row():
|
23 |
with gr.Column(scale=3):
|
24 |
with gr.Row():
|
25 |
-
with gr.Accordion(label="
|
26 |
num = gr.Radio(interactive=True, value="1", show_label=False, choices=["1", "2"])
|
27 |
|
28 |
-
vkl2_text_button = gr.Button("
|
29 |
|
30 |
vkl2_text_output = gr.Textbox()
|
31 |
|
|
|
14 |
|
15 |
|
16 |
# ui
|
17 |
+
with gr.Blocks(css=css) as vui:
|
18 |
+
with gr.Tab("Вкладка 1", id='vkl1'):
|
19 |
with gr.Row():
|
20 |
with gr.Column(scale=3):
|
21 |
+
enter_one = gr.Textbox(placeholder="Ввод текста 1", show_label=False, lines=3)
|
22 |
+
with gr.Tab("Вкладка 2", id='vkl2'):
|
23 |
with gr.Row():
|
24 |
with gr.Column(scale=3):
|
25 |
with gr.Row():
|
26 |
+
with gr.Accordion(label="Выпадающий список", open=False):
|
27 |
num = gr.Radio(interactive=True, value="1", show_label=False, choices=["1", "2"])
|
28 |
|
29 |
+
vkl2_text_button = gr.Button("Генерация", variant='primary', elem_id="generate")
|
30 |
|
31 |
vkl2_text_output = gr.Textbox()
|
32 |
|