Update app.py
Browse files
app.py
CHANGED
@@ -104,9 +104,9 @@ class App:
|
|
104 |
|
105 |
with gr.Column():
|
106 |
with gr.Group():
|
107 |
-
tb_hf_token = gr.Text(label="Token", value=diarization_params["hf_token"])
|
108 |
-
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization
|
109 |
-
with gr.Accordion("
|
110 |
gr.Markdown("""
|
111 |
An access token can be created [here](https://hf.co/settings/tokens). If not done yet for your account, you need to [accept diarization terms & conditions](https://huggingface.co/pyannote/speaker-diarization-3.1).
|
112 |
""")
|
|
|
104 |
|
105 |
with gr.Column():
|
106 |
with gr.Group():
|
107 |
+
tb_hf_token = gr.Text(label="Token used for diarization", value=diarization_params["hf_token"])
|
108 |
+
cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Speaker diarization",interactive=True)
|
109 |
+
with gr.Accordion("Click here for more details ...", open=False):
|
110 |
gr.Markdown("""
|
111 |
An access token can be created [here](https://hf.co/settings/tokens). If not done yet for your account, you need to [accept diarization terms & conditions](https://huggingface.co/pyannote/speaker-diarization-3.1).
|
112 |
""")
|