jhj0517 commited on
Commit
1664a01
·
1 Parent(s): 569198b

update hint

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -115,7 +115,7 @@ class App:
115
  with gr.Accordion("Diarization", open=False):
116
  cb_diarize = gr.Checkbox(label="Enable Diarization")
117
  tb_hf_token = gr.Text(label="HuggingFace Token", value="",
118
- info="This is only needed the first time you download the model. If you already have models, you don't need to enter."
119
  "To download the model, you must manually go to \"https://huggingface.co/pyannote/speaker-diarization-3.1\" and agree to their requirement.")
120
  dd_diarization_device = gr.Dropdown(label="Device", choices=self.whisper_inf.diarizer.get_available_device(), value=self.whisper_inf.diarizer.get_device())
121
  with gr.Accordion("Insanely Fast Whisper Parameters", open=False, visible=isinstance(self.whisper_inf, InsanelyFastWhisperInference)):
@@ -203,7 +203,7 @@ class App:
203
  with gr.Accordion("Diarization", open=False):
204
  cb_diarize = gr.Checkbox(label="Enable Diarization")
205
  tb_hf_token = gr.Text(label="HuggingFace Token", value="",
206
- info="This is only needed the first time you download the model. If you already have models, you don't need to enter."
207
  "To download the model, you must manually go to \"https://huggingface.co/pyannote/speaker-diarization-3.1\" and agree to their requirement.")
208
  dd_diarization_device = gr.Dropdown(label="Device", choices=self.whisper_inf.diarizer.get_available_device(), value=self.whisper_inf.diarizer.get_device())
209
  with gr.Accordion("Insanely Fast Whisper Parameters", open=False,
@@ -284,7 +284,7 @@ class App:
284
  with gr.Accordion("Diarization", open=False):
285
  cb_diarize = gr.Checkbox(label="Enable Diarization")
286
  tb_hf_token = gr.Text(label="HuggingFace Token", value="",
287
- info="This is only needed the first time you download the model. If you already have models, you don't need to enter."
288
  "To download the model, you must manually go to \"https://huggingface.co/pyannote/speaker-diarization-3.1\" and agree to their requirement.")
289
  dd_diarization_device = gr.Dropdown(label="Device",
290
  choices=self.whisper_inf.diarizer.get_available_device(),
 
115
  with gr.Accordion("Diarization", open=False):
116
  cb_diarize = gr.Checkbox(label="Enable Diarization")
117
  tb_hf_token = gr.Text(label="HuggingFace Token", value="",
118
+ info="This is only needed the first time you download the model. If you already have models, you don't need to enter. "
119
  "To download the model, you must manually go to \"https://huggingface.co/pyannote/speaker-diarization-3.1\" and agree to their requirement.")
120
  dd_diarization_device = gr.Dropdown(label="Device", choices=self.whisper_inf.diarizer.get_available_device(), value=self.whisper_inf.diarizer.get_device())
121
  with gr.Accordion("Insanely Fast Whisper Parameters", open=False, visible=isinstance(self.whisper_inf, InsanelyFastWhisperInference)):
 
203
  with gr.Accordion("Diarization", open=False):
204
  cb_diarize = gr.Checkbox(label="Enable Diarization")
205
  tb_hf_token = gr.Text(label="HuggingFace Token", value="",
206
+ info="This is only needed the first time you download the model. If you already have models, you don't need to enter. "
207
  "To download the model, you must manually go to \"https://huggingface.co/pyannote/speaker-diarization-3.1\" and agree to their requirement.")
208
  dd_diarization_device = gr.Dropdown(label="Device", choices=self.whisper_inf.diarizer.get_available_device(), value=self.whisper_inf.diarizer.get_device())
209
  with gr.Accordion("Insanely Fast Whisper Parameters", open=False,
 
284
  with gr.Accordion("Diarization", open=False):
285
  cb_diarize = gr.Checkbox(label="Enable Diarization")
286
  tb_hf_token = gr.Text(label="HuggingFace Token", value="",
287
+ info="This is only needed the first time you download the model. If you already have models, you don't need to enter. "
288
  "To download the model, you must manually go to \"https://huggingface.co/pyannote/speaker-diarization-3.1\" and agree to their requirement.")
289
  dd_diarization_device = gr.Dropdown(label="Device",
290
  choices=self.whisper_inf.diarizer.get_available_device(),