LAP-DEV commited on
Commit
6fee720
·
verified ·
1 Parent(s): 2652e49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -102,10 +102,8 @@ class App:
102
  with gr.Row():
103
  with gr.Column():
104
  dd_file_format = gr.Dropdown(choices=["CSV","SRT","TXT"], value=whisper_params["output_format"], label="Output format", multiselect=True, interactive=True, visible=True)
105
- #cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to output", interactive=True)
106
- #cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Add timestamps to preview", interactive=True)
107
- cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add1", interactive=True)
108
- cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Add2", interactive=True)
109
  with gr.Column(scale=4):
110
  input_file_audio = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True, visible=True, interactive=True)
111
  input_file_video = gr.Video(elem_id="video_input", show_download_button=True, visible=False, interactive=True)
 
102
  with gr.Row():
103
  with gr.Column():
104
  dd_file_format = gr.Dropdown(choices=["CSV","SRT","TXT"], value=whisper_params["output_format"], label="Output format", multiselect=True, interactive=True, visible=True)
105
+ cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to output", interactive=True)
106
+ cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Add timestamps to preview", interactive=True)
 
 
107
  with gr.Column(scale=4):
108
  input_file_audio = gr.Audio(type='filepath', elem_id="audio_input", show_download_button=True, visible=True, interactive=True)
109
  input_file_video = gr.Video(elem_id="video_input", show_download_button=True, visible=False, interactive=True)