Update app.py
Browse files
app.py
CHANGED
@@ -316,11 +316,12 @@ class App:
|
|
316 |
btn_reset = gr.Button(value="Reset")
|
317 |
btn_reset.click(None,js="window.location.reload()")
|
318 |
with gr.Row():
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
|
|
324 |
|
325 |
params = [input_file, tb_input_folder, dd_file_format, cb_timestamp, cb_translate_output, dd_translate_model, dd_target_lang]
|
326 |
btn_run.click(fn=self.whisper_inf.transcribe_file,
|
|
|
316 |
btn_reset = gr.Button(value="Reset")
|
317 |
btn_reset.click(None,js="window.location.reload()")
|
318 |
with gr.Row():
|
319 |
+
with gr.Column(scale=4):
|
320 |
+
tb_indicator = gr.Textbox(label="Output preview (Always review & verify the output generated by AI models)", show_copy_button=True, show_label=True)
|
321 |
+
with gr.Column(scale=1):
|
322 |
+
tb_info = gr.Textbox(label="Output info", interactive=False, show_copy_button=True)
|
323 |
+
files_subtitles = gr.Files(label="Output data", interactive=False, file_count="multiple")
|
324 |
+
# btn_openfolder = gr.Button('📂', scale=1)
|
325 |
|
326 |
params = [input_file, tb_input_folder, dd_file_format, cb_timestamp, cb_translate_output, dd_translate_model, dd_target_lang]
|
327 |
btn_run.click(fn=self.whisper_inf.transcribe_file,
|