Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -94,10 +94,11 @@ 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 |
audio_button = gr.Button("Сгенерировать озвучку", elem_classes="btn")
|
98 |
-
with gr.Row():
|
99 |
-
audio_language = gr.Dropdown(choices=["Русский", "English"], label="Язык озвучки", value="Русский", scale=1, min_width=150, elem_classes="equal-height")
|
100 |
-
audio_output = gr.Audio(label="Озвучка", scale=1, min_width=150, elem_classes="equal-height")
|
101 |
|
102 |
submit_button.click(
|
103 |
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 |
+
audio_language = gr.Dropdown(choices=["Русский", "English"], label="Язык озвучки", value="Русский", scale=1, min_width=200, elem_classes="equal-height")
|
99 |
+
audio_output = gr.Audio(label="Озвучка", scale=1, min_width=200, elem_classes="equal-height")
|
100 |
+
with gr.Column(scale=1):
|
101 |
audio_button = gr.Button("Сгенерировать озвучку", elem_classes="btn")
|
|
|
|
|
|
|
102 |
|
103 |
submit_button.click(
|
104 |
fn=generate_captions,
|