Update app.py
Browse files109 unmodified lines110111112113114115116117109 unmodified linescb_translate_output = gr.Checkbox(value=translation_params["translate_output"], label="Translate to selected language", info="Translate using Facebook's NLLB",interactive=True)with gr.Row():dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", interactive=True,visible=False)cb_preview = gr.Checkbox(value=True,label="Add timestamp to output preview", interactive=True)cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp"], label="Add timestamp to output data",interactive=True)with gr.Accordion("Speaker diarization", open=False, visible=True):cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"],label="Use diarization",interactive=True)109 unmodified lines110111112113114115116117109 unmodified linescb_translate_output = gr.Checkbox(value=translation_params["translate_output"], label="Translate to selected language", info="Translate using Facebook's NLLB",interactive=True)with gr.Row():dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", interactive=True,visible=False)cb_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Add timestamp to output preview", interactive=True)cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to output data", interactive=True)with gr.Accordion("Speaker diarization", open=False, visible=True):cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"],label="Use diarization",interactive=True)
app.py+2-2