Update app.py
Browse files
app.py
CHANGED
|
@@ -305,7 +305,7 @@ class App:
|
|
| 305 |
#input_file = gr.File(type="filepath", label="Upload audio/video file here")
|
| 306 |
|
| 307 |
#input_file = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True)
|
| 308 |
-
input_file = gr.
|
| 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."
|
|
|
|
| 305 |
#input_file = gr.File(type="filepath", label="Upload audio/video file here")
|
| 306 |
|
| 307 |
#input_file = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True)
|
| 308 |
+
input_file = gr.Files(label="Upload audio/video file here", elem_id="audio_input", type='filepath', file_types=["audio","video"], show_download_button=True)
|
| 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."
|