Update app.py
Browse files
app.py
CHANGED
@@ -110,8 +110,8 @@ class App:
|
|
110 |
cb_translate_output = gr.Checkbox(value=translation_params["translate_output"], label="Translate to selected language", info="Translate using Facebook's NLLB",interactive=True)
|
111 |
with gr.Row():
|
112 |
dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", interactive=True,visible=False)
|
113 |
-
cb_preview = gr.Checkbox(value=
|
114 |
-
cb_timestamp = gr.Checkbox(value=whisper_params["
|
115 |
|
116 |
with gr.Accordion("Speaker diarization", open=False, visible=True):
|
117 |
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"],label="Use diarization",interactive=True)
|
|
|
110 |
cb_translate_output = gr.Checkbox(value=translation_params["translate_output"], label="Translate to selected language", info="Translate using Facebook's NLLB",interactive=True)
|
111 |
with gr.Row():
|
112 |
dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", interactive=True,visible=False)
|
113 |
+
cb_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Add timestamp to output preview", interactive=True)
|
114 |
+
cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to output data", interactive=True)
|
115 |
|
116 |
with gr.Accordion("Speaker diarization", open=False, visible=True):
|
117 |
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"],label="Use diarization",interactive=True)
|