Update app.py
Browse files
app.py
CHANGED
|
@@ -263,8 +263,8 @@ class App:
|
|
| 263 |
with gr.TabItem("Audio upload/record"): # tab1
|
| 264 |
with gr.Column():
|
| 265 |
#input_file = gr.Files(type="filepath", label="Upload File here")
|
| 266 |
-
input_file = gr.File(type="filepath", label="Upload audio/video file here")
|
| 267 |
-
|
| 268 |
tb_input_folder = gr.Textbox(label="Input Folder Path (Optional)",
|
| 269 |
info="Optional: Specify the folder path where the input files are located, if you prefer to use local files instead of uploading them."
|
| 270 |
" Leave this field empty if you do not wish to use a local path.",
|
|
|
|
| 263 |
with gr.TabItem("Audio upload/record"): # tab1
|
| 264 |
with gr.Column():
|
| 265 |
#input_file = gr.Files(type="filepath", label="Upload File here")
|
| 266 |
+
#input_file = gr.File(type="filepath", label="Upload audio/video file here")
|
| 267 |
+
input_file = gr.Audio(type='filepath', elem_id="audio_input")
|
| 268 |
tb_input_folder = gr.Textbox(label="Input Folder Path (Optional)",
|
| 269 |
info="Optional: Specify the folder path where the input files are located, if you prefer to use local files instead of uploading them."
|
| 270 |
" Leave this field empty if you do not wish to use a local path.",
|