Update app.py
Browse files
app.py
CHANGED
@@ -326,18 +326,15 @@ class App:
|
|
326 |
btn_reset = gr.Button(value="Reset")
|
327 |
btn_reset.click(None,js="window.location.reload()")
|
328 |
with gr.Row():
|
329 |
-
|
330 |
#tb_indicator = gr.Textbox(label="Output preview (Always review output generated by AI models)", show_copy_button=True, show_label=True)
|
331 |
-
|
332 |
-
|
333 |
with gr.Column(scale=1):
|
334 |
tb_info = gr.Textbox(label="Output info", interactive=False, show_copy_button=True)
|
335 |
files_subtitles = gr.Files(label="Output data", interactive=False, file_count="multiple")
|
336 |
# btn_openfolder = gr.Button('📂', scale=1)
|
337 |
-
|
338 |
-
tb_indicator = gr.Dataframe(label="Output preview (Always review output generated by AI models)", headers=[""], show_search="search", wrap=True, line_breaks=True, show_label=True, show_copy_button=True, show_fullscreen_button=True, interactive=False, elem_id="md_disclaimer")
|
339 |
-
|
340 |
-
|
341 |
params = [input_file_audio, input_file_video, input_file_multi, input_multi, tb_input_folder, dd_file_format, cb_timestamp_file, cb_translate_output, dd_translate_model, dd_target_lang, cb_timestamp_preview, cb_diarize]
|
342 |
|
343 |
btn_run.click(fn=self.whisper_inf.transcribe_file,
|
|
|
326 |
btn_reset = gr.Button(value="Reset")
|
327 |
btn_reset.click(None,js="window.location.reload()")
|
328 |
with gr.Row():
|
329 |
+
with gr.Column(scale=4):
|
330 |
#tb_indicator = gr.Textbox(label="Output preview (Always review output generated by AI models)", show_copy_button=True, show_label=True)
|
331 |
+
with gr.Row():
|
332 |
+
tb_indicator = gr.Dataframe(label="Output preview (Always review output generated by AI models)", headers=[""], show_search="search", wrap=True, line_breaks=True, show_label=True, show_copy_button=True, show_fullscreen_button=True, interactive=False, elem_id="md_disclaimer")
|
333 |
with gr.Column(scale=1):
|
334 |
tb_info = gr.Textbox(label="Output info", interactive=False, show_copy_button=True)
|
335 |
files_subtitles = gr.Files(label="Output data", interactive=False, file_count="multiple")
|
336 |
# btn_openfolder = gr.Button('📂', scale=1)
|
337 |
+
|
|
|
|
|
|
|
338 |
params = [input_file_audio, input_file_video, input_file_multi, input_multi, tb_input_folder, dd_file_format, cb_timestamp_file, cb_translate_output, dd_translate_model, dd_target_lang, cb_timestamp_preview, cb_diarize]
|
339 |
|
340 |
btn_run.click(fn=self.whisper_inf.transcribe_file,
|