LAP-DEV commited on
Commit
843b25f
·
verified ·
1 Parent(s): 2257dec

Update app.py

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