LAP-DEV commited on
Commit
f9de235
·
verified ·
1 Parent(s): a45a48d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
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
- tb_info = gr.Textbox(label="Output info", interactive=False, scale=4, show_copy_button=True)
320
- files_subtitles = gr.Files(label="Output data", interactive=False, scale=1,file_count="multiple")
321
- # btn_openfolder = gr.Button('📂', scale=1)
322
- with gr.Row():
323
- tb_indicator = gr.Textbox(label="Output preview (Always review & verify the output generated by AI models)", show_copy_button=True, show_label=True)
 
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,