Update app.py
Browse files
app.py
CHANGED
|
@@ -324,9 +324,13 @@ class App:
|
|
| 324 |
whisper_params, input_multi, input_file_audio, input_file_video, input_file_multi, dd_file_format, cb_timestamp_file, cb_translate_output, dd_translate_model, dd_target_lang, cb_timestamp_preview = self.create_whisper_parameters()
|
| 325 |
|
| 326 |
with gr.Row():
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 330 |
with gr.Row():
|
| 331 |
tb_info = gr.Textbox(label="Output info", interactive=False, show_copy_button=True)
|
| 332 |
with gr.Row():
|
|
|
|
| 324 |
whisper_params, input_multi, input_file_audio, input_file_video, input_file_multi, dd_file_format, cb_timestamp_file, cb_translate_output, dd_translate_model, dd_target_lang, cb_timestamp_preview = self.create_whisper_parameters()
|
| 325 |
|
| 326 |
with gr.Row():
|
| 327 |
+
with gr.Column(scale=4):
|
| 328 |
+
with gr.Row():
|
| 329 |
+
btn_run = gr.Button("Transcribe", variant="primary")
|
| 330 |
+
with gr.Column(scale=1):
|
| 331 |
+
with gr.Row():
|
| 332 |
+
btn_reset = gr.Button(value="Reset")
|
| 333 |
+
btn_reset.click(None,js="window.location.reload()")
|
| 334 |
with gr.Row():
|
| 335 |
tb_info = gr.Textbox(label="Output info", interactive=False, show_copy_button=True)
|
| 336 |
with gr.Row():
|