Update app.py
Browse files97 unmodified lines989910010110210310410510610797 unmodified lines#dd_file_format = gr.Dropdown(choices=["SRT", "WebVTT", "txt"], value="SRT", label="File Format")dd_file_format = gr.Dropdown(choices=["SRT", "txt"], value="txt", label="Output format", visible=False)with gr.Row():cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp"], label="Add timestamp to output file",interactive=True)cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization",interactive=True)cb_translate = gr.Checkbox(value=whisper_params["is_translate"], label="Translate to English",interactive=True)with gr.Accordion("Diarization options", open=False):tb_hf_token = gr.Text(label="HuggingFace Token", value=diarization_params["hf_token"],97 unmodified lines989910010110210310410510610797 unmodified lines#dd_file_format = gr.Dropdown(choices=["SRT", "WebVTT", "txt"], value="SRT", label="File Format")dd_file_format = gr.Dropdown(choices=["SRT", "txt"], value="txt", label="Output format", visible=False)#with gr.Row():cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization",interactive=True)cb_translate = gr.Checkbox(value=whisper_params["is_translate"], label="Translate to English",interactive=True)cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp"], label="Add timestamp to output file",interactive=True)with gr.Accordion("Diarization options", open=False):tb_hf_token = gr.Text(label="HuggingFace Token", value=diarization_params["hf_token"],
app.py+3-3