Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ class App:
|
|
101 |
cb_translate = gr.Checkbox(value=whisper_params["is_translate"], label="Translate to English",interactive=True)
|
102 |
cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp"], label="Add timestamp to output file",interactive=True, visible=True)
|
103 |
dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", visible=False, info="Output preview format")
|
104 |
-
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization (
|
105 |
|
106 |
with gr.Accordion("Diarization token", open=False, visible=True):
|
107 |
tb_hf_token = gr.Text(label="Token", value=diarization_params["hf_token"])
|
|
|
101 |
cb_translate = gr.Checkbox(value=whisper_params["is_translate"], label="Translate to English",interactive=True)
|
102 |
cb_timestamp = gr.Checkbox(value=whisper_params["add_timestamp"], label="Add timestamp to output file",interactive=True, visible=True)
|
103 |
dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", visible=False, info="Output preview format")
|
104 |
+
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization (token required)",interactive=True)
|
105 |
|
106 |
with gr.Accordion("Diarization token", open=False, visible=True):
|
107 |
tb_hf_token = gr.Text(label="Token", value=diarization_params["hf_token"])
|