LAP-DEV commited on
Commit
f0d2b0e
·
verified ·
1 Parent(s): 2ac224e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -96,7 +96,7 @@ class App:
96
  nllb_params = translation_params["nllb"]
97
 
98
  with gr.Row():
99
- with gr.Column(scale=1):
100
  with gr.Row():
101
  input_multi = gr.Radio(["Single", "Multiple"], label="Process one or multiple files", value="Single")
102
  with gr.Row():
@@ -104,7 +104,7 @@ class App:
104
  with gr.Row():
105
  cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Show preview with timestamps", interactive=True)
106
  cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to filenames", interactive=True)
107
- with gr.Column(scale=4):
108
  input_file = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True, visible=True, interactive=True)
109
  input_file_multi = gr.Files(label="Upload one or more audio/video files here", elem_id="audio_input", type='filepath', file_count="multiple", file_types=["audio","video"], visible=False, interactive=True)
110
 
 
96
  nllb_params = translation_params["nllb"]
97
 
98
  with gr.Row():
99
+ with gr.Column(scale=2):
100
  with gr.Row():
101
  input_multi = gr.Radio(["Single", "Multiple"], label="Process one or multiple files", value="Single")
102
  with gr.Row():
 
104
  with gr.Row():
105
  cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Show preview with timestamps", interactive=True)
106
  cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to filenames", interactive=True)
107
+ with gr.Column(scale=3):
108
  input_file = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True, visible=True, interactive=True)
109
  input_file_multi = gr.Files(label="Upload one or more audio/video files here", elem_id="audio_input", type='filepath', file_count="multiple", file_types=["audio","video"], visible=False, interactive=True)
110