Update app.py
Browse files93 unmodified lines949596979798999910010110210393 unmodified lines
with gr.Row(): dd_model = gr.Dropdown(choices=self.whisper_inf.available_models, value=whisper_params["model_size"],label="Model", info="Larger models will increase the quality of the transcription, but reduce performance") dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,value=whisper_params["lang"], label="Language") dd_lang = gr.Dropdown(choices=["Automatic Detection"] + self.whisper_inf.available_langs,value=whisper_params["lang"], label="Language", info="If the language is known upfront, always set it manually") #dd_file_format = gr.Dropdown(choices=["SRT", "WebVTT", "txt"], value="SRT", label="File Format") dd_file_format = gr.Dropdown(choices=["SRT", "txt"], value="SRT", label="Output format") #dd_file_format = gr.Dropdown(choices=["SRT", "txt"], value="SRT", label="Output format") dd_file_format = "SRT" with gr.Row(): cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp"], label="Add timestamp to output file",interactive=True)app.py+3-2