LAP-DEV commited on
Commit
517c9bb
·
verified ·
1 Parent(s): 22842cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -103,8 +103,8 @@ class App:
103
  dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", visible=False, info="Output preview format")
104
 
105
  with gr.Accordion("Speaker diarization", open=False, visible=True):
106
- cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Use diarization",info="Requires a valid token",interactive=True)
107
- tb_hf_token = gr.Text(label="Token", value=diarization_params["hf_token"])
108
  gr.Markdown("""
109
  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).
110
  """)
 
103
  dd_file_format = gr.Dropdown(choices=["TXT","SRT"], value="TXT", label="Output format", visible=False, info="Output preview format")
104
 
105
  with gr.Accordion("Speaker diarization", open=False, visible=True):
106
+ cb_diarize = gr.Checkbox(value=diarization_params["is_diarize"], label="Use diarization",interactive=True)
107
+ tb_hf_token = gr.Text(label="Token", value=diarization_params["hf_token"],info="Required to use diarization")
108
  gr.Markdown("""
109
  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).
110
  """)