Update app.py
Browse files
app.py
CHANGED
|
@@ -316,14 +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 |
-
with gr.Column(
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
files_subtitles = gr.Files(label="Output data", interactive=False, scale=1,file_count="multiple")
|
| 326 |
-
# btn_openfolder = gr.Button('📂', scale=1)
|
| 327 |
|
| 328 |
params = [input_file, tb_input_folder, dd_file_format, cb_timestamp, cb_translate_output, dd_translate_model, dd_target_lang]
|
| 329 |
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():
|
| 320 |
+
tb_info = gr.Textbox(label="Output info", interactive=False, scale=4, show_copy_button=True)
|
| 321 |
+
files_subtitles = gr.Files(label="Output data", interactive=False, scale=1,file_count="multiple")
|
| 322 |
+
# btn_openfolder = gr.Button('📂', scale=1)
|
| 323 |
+
with gr.Column():
|
| 324 |
+
tb_indicator = gr.Textbox(label="Output preview (Always review & verify the output generated by AI models)", show_copy_button=True, show_label=True)
|
|
|
|
|
|
|
| 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,
|