Update app.py
Browse files
app.py
CHANGED
@@ -109,9 +109,11 @@ class App:
|
|
109 |
cb_translate_output = gr.Checkbox(value=translation_params["translate_output"], label="Translate to selected language", info="Translate using Facebook's NLLB",interactive=True)
|
110 |
|
111 |
with gr.Row():
|
112 |
-
|
113 |
-
|
114 |
-
|
|
|
|
|
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)
|
|
|
109 |
cb_translate_output = gr.Checkbox(value=translation_params["translate_output"], label="Translate to selected language", info="Translate using Facebook's NLLB",interactive=True)
|
110 |
|
111 |
with gr.Row():
|
112 |
+
with gr.Column():
|
113 |
+
dd_file_format = gr.Dropdown(choices=["CSV","SRT","TXT"], value="CSV", label="Output format", multiselect=True, interactive=True, visible=True)
|
114 |
+
with gr.Column():
|
115 |
+
cb_timestamp_preview = gr.Checkbox(value=whisper_params["add_timestamp_preview"],label="Show preview with timestamps", interactive=True)
|
116 |
+
cb_timestamp_file = gr.Checkbox(value=whisper_params["add_timestamp_file"], label="Add timestamp to filenames", interactive=True)
|
117 |
|
118 |
with gr.Accordion("Speaker diarization", open=False, visible=True):
|
119 |
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"],label="Use diarization",interactive=True)
|