Update app.py
Browse files
app.py
CHANGED
@@ -113,11 +113,7 @@ class App:
|
|
113 |
with gr.Accordion("Speaker diarization", open=False, visible=True):
|
114 |
with gr.Row():
|
115 |
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Use diarization",interactive=True)
|
116 |
-
tb_hf_token = gr.Text(label="Token", value=diarization_params["hf_token"],info="Required to use diarization")
|
117 |
-
with gr.Row():
|
118 |
-
gr.Markdown("""
|
119 |
-
An access token can be created [here](https://hf.co/settings/tokens). If not done yet for your account, you need to accept the terms & conditions of [diarization](https://huggingface.co/pyannote/speaker-diarization-3.1) and [segmentation](https://huggingface.co/pyannote/segmentation-3.0).
|
120 |
-
""")
|
121 |
|
122 |
with gr.Accordion("Advanced options", open=False, visible=False):
|
123 |
with gr.Accordion("Advanced diarization options", open=False, visible=True):
|
|
|
113 |
with gr.Accordion("Speaker diarization", open=False, visible=True):
|
114 |
with gr.Row():
|
115 |
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Use diarization",interactive=True)
|
116 |
+
tb_hf_token = gr.Text(label="Token", value=diarization_params["hf_token"],info="Required to use diarization (An access token can be created [here](https://hf.co/settings/tokens). If not done yet for your account, you need to accept the terms & conditions of [diarization](https://huggingface.co/pyannote/speaker-diarization-3.1) and [segmentation](https://huggingface.co/pyannote/segmentation-3.0))")
|
|
|
|
|
|
|
|
|
117 |
|
118 |
with gr.Accordion("Advanced options", open=False, visible=False):
|
119 |
with gr.Accordion("Advanced diarization options", open=False, visible=True):
|