Update app.py
Browse files
app.py
CHANGED
|
@@ -301,11 +301,11 @@ class App:
|
|
| 301 |
with gr.Tabs():
|
| 302 |
with gr.TabItem("Audio upload/record"): # tab1
|
| 303 |
|
| 304 |
-
with gr.
|
| 305 |
-
with gr.
|
| 306 |
input_file = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True)
|
| 307 |
-
with gr.
|
| 308 |
-
input_file_multi = gr.Files(label="Upload audio/video
|
| 309 |
|
| 310 |
tb_input_folder = gr.Textbox(label="Input Folder Path (Optional)",
|
| 311 |
info="Optional: Specify the folder path where the input files are located, if you prefer to use local files instead of uploading them."
|
|
|
|
| 301 |
with gr.Tabs():
|
| 302 |
with gr.TabItem("Audio upload/record"): # tab1
|
| 303 |
|
| 304 |
+
with gr.Tabs():
|
| 305 |
+
with gr.TabItem("Process a single file"):
|
| 306 |
input_file = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True)
|
| 307 |
+
with gr.TabItem("Process multiple files"):
|
| 308 |
+
input_file_multi = gr.Files(label="Upload multiple audio/video files here", elem_id="audio_input", type='filepath', file_count="multiple", file_types=["audio","video"])
|
| 309 |
|
| 310 |
tb_input_folder = gr.Textbox(label="Input Folder Path (Optional)",
|
| 311 |
info="Optional: Specify the folder path where the input files are located, if you prefer to use local files instead of uploading them."
|