Nymbo commited on
Commit
2959994
·
verified ·
1 Parent(s): 12fba52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -15,18 +15,21 @@ footer {visibility: hidden !important;}
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
 
 
15
 
16
  # ui
17
  with gr.Blocks(css=css) as vui:
18
+ gr.Title("Nymbo's Gradio Snippets") # TITLE
19
+ gr.Markdown("Just some odds and ends :)") # DESCRIPTION
20
+
21
+ with gr.Tab("Tab 1", id='vkl1'):
22
  with gr.Row():
23
  with gr.Column(scale=3):
24
+ enter_one = gr.Textbox(placeholder="Text Input 1", show_label=False, lines=3)
25
+ with gr.Tab("Tab 2", id='vkl2'):
26
  with gr.Row():
27
  with gr.Column(scale=3):
28
  with gr.Row():
29
+ with gr.Accordion(label="Dropdown List", open=False):
30
  num = gr.Radio(interactive=True, value="1", show_label=False, choices=["1", "2"])
31
 
32
+ vkl2_text_button = gr.Button("Generation", variant='primary', elem_id="generate")
33
 
34
  vkl2_text_output = gr.Textbox()
35