Zguin commited on
Commit
ecf182d
·
verified ·
1 Parent(s): 6168f17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -94,12 +94,12 @@ with gr.Blocks(css=".btn {width: 200px; background-color: #4B0082; color: white;
94
  with gr.Column(scale=1, min_width=300):
95
  english_caption = gr.Textbox(label="Описание на English:", lines=2)
96
  russian_caption = gr.Textbox(label="Описание на Русском:", lines=2)
97
- with gr.Row():
98
- with gr.Column(scale=1):
99
- with gr.Row():
100
- audio_language = gr.Dropdown(choices=["Русский", "English"], label="Язык озвучки", value="Русский", elem_classes="equal-height")
101
- audio_output = gr.Audio(label="Озвучка", elem_classes="equal-height")
102
- audio_button = gr.Button("Сгенерировать озвучку", elem_classes="btn")
103
 
104
  submit_button.click(
105
  fn=generate_captions,
 
94
  with gr.Column(scale=1, min_width=300):
95
  english_caption = gr.Textbox(label="Описание на English:", lines=2)
96
  russian_caption = gr.Textbox(label="Описание на Русском:", lines=2)
97
+ with gr.Row():
98
+ with gr.Column(scale=1):
99
+ with gr.Row():
100
+ audio_language = gr.Dropdown(choices=["Русский", "English"], label="Язык озвучки", value="Русский", elem_classes="equal-height")
101
+ audio_output = gr.Audio(label="Озвучка", elem_classes="equal-height")
102
+ audio_button = gr.Button("Сгенерировать озвучку", elem_classes="btn")
103
 
104
  submit_button.click(
105
  fn=generate_captions,