Update app.py
Browse files
app.py
CHANGED
|
@@ -96,8 +96,9 @@ class App:
|
|
| 96 |
nllb_params = translation_params["nllb"]
|
| 97 |
|
| 98 |
with gr.Row():
|
| 99 |
-
with gr.Column(scale=
|
| 100 |
input_multi = gr.Radio(["Audio", "Video", "Multiple"], label="Process one or multiple files", value="Audio")
|
|
|
|
| 101 |
input_file_audio = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True, visible=True, interactive=True)
|
| 102 |
input_file_video = gr.Video(elem_id="video_input", show_download_button=True, visible=False, interactive=True)
|
| 103 |
input_file_multi = gr.Files(label="Upload one or more audio/video files here", elem_id="multi_input", type='filepath', file_count="multiple", allow_reordering=True, file_types=["audio","video"], visible=False, interactive=True)
|
|
|
|
| 96 |
nllb_params = translation_params["nllb"]
|
| 97 |
|
| 98 |
with gr.Row():
|
| 99 |
+
with gr.Column(scale=1):
|
| 100 |
input_multi = gr.Radio(["Audio", "Video", "Multiple"], label="Process one or multiple files", value="Audio")
|
| 101 |
+
with gr.Column(scale=3):
|
| 102 |
input_file_audio = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True, visible=True, interactive=True)
|
| 103 |
input_file_video = gr.Video(elem_id="video_input", show_download_button=True, visible=False, interactive=True)
|
| 104 |
input_file_multi = gr.Files(label="Upload one or more audio/video files here", elem_id="multi_input", type='filepath', file_count="multiple", allow_reordering=True, file_types=["audio","video"], visible=False, interactive=True)
|