Update app.py
Browse files
app.py
CHANGED
@@ -96,12 +96,12 @@ class App:
|
|
96 |
nllb_params = translation_params["nllb"]
|
97 |
|
98 |
with gr.Row():
|
99 |
-
with gr.Column(scale=
|
100 |
with gr.Row():
|
101 |
input_multi = gr.Radio(["Single", "Multiple"], label="Process one or multiple files", value="Single")
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
with gr.Column(scale=1):
|
106 |
with gr.Row():
|
107 |
dd_file_format = gr.Dropdown(choices=["CSV","SRT","TXT"], value="CSV", label="Output format", multiselect=True, interactive=True, visible=True)
|
|
|
96 |
nllb_params = translation_params["nllb"]
|
97 |
|
98 |
with gr.Row():
|
99 |
+
with gr.Column(scale=4):
|
100 |
with gr.Row():
|
101 |
input_multi = gr.Radio(["Single", "Multiple"], label="Process one or multiple files", value="Single")
|
102 |
+
with gr.Row():
|
103 |
+
input_file = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True, visible=True, interactive=True)
|
104 |
+
input_file_multi = gr.Files(label="Upload one or more audio/video files here", elem_id="audio_input", type='filepath', file_count="multiple", file_types=["audio","video"], visible=False, interactive=True)
|
105 |
with gr.Column(scale=1):
|
106 |
with gr.Row():
|
107 |
dd_file_format = gr.Dropdown(choices=["CSV","SRT","TXT"], value="CSV", label="Output format", multiselect=True, interactive=True, visible=True)
|