Update app.py
Browse files
app.py
CHANGED
|
@@ -105,8 +105,8 @@ class App:
|
|
| 105 |
cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to output", interactive=True)
|
| 106 |
cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Add timestamps to preview", interactive=True)
|
| 107 |
with gr.Column(scale=4):
|
| 108 |
-
input_file_audio = gr.Audio(type='filepath', elem_id="audio_input",
|
| 109 |
-
input_file_video = gr.Video(elem_id="video_input",
|
| 110 |
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)
|
| 111 |
|
| 112 |
with gr.Row():
|
|
|
|
| 105 |
cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to output", interactive=True)
|
| 106 |
cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Add timestamps to preview", interactive=True)
|
| 107 |
with gr.Column(scale=4):
|
| 108 |
+
input_file_audio = gr.Audio(type='filepath', elem_id="audio_input", buttons=["download"], visible=True, interactive=True)
|
| 109 |
+
input_file_video = gr.Video(elem_id="video_input", buttons=["download"], visible=False, interactive=True)
|
| 110 |
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)
|
| 111 |
|
| 112 |
with gr.Row():
|