Spaces:
Running
Running
jhj0517
commited on
Commit
·
1c42a22
1
Parent(s):
709f1c6
update hint
Browse files
app.py
CHANGED
@@ -115,7 +115,8 @@ 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 |
dd_diarization_device = gr.Dropdown(label="Device", choices=self.whisper_inf.diarizer.get_available_device(), value=self.whisper_inf.diarizer.get_device())
|
120 |
with gr.Accordion("Insanely Fast Whisper Parameters", open=False, visible=isinstance(self.whisper_inf, InsanelyFastWhisperInference)):
|
121 |
nb_chunk_length_s = gr.Number(label="Chunk Lengths (sec)", value=30, precision=0)
|
@@ -202,7 +203,8 @@ class App:
|
|
202 |
with gr.Accordion("Diarization", open=False):
|
203 |
cb_diarize = gr.Checkbox(label="Enable Diarization")
|
204 |
tb_hf_token = gr.Text(label="HuggingFace Token", value="",
|
205 |
-
info="This is only needed the first time you download the model. If you already have models, you don't need to enter."
|
|
|
206 |
dd_diarization_device = gr.Dropdown(label="Device", choices=self.whisper_inf.diarizer.get_available_device(), value=self.whisper_inf.diarizer.get_device())
|
207 |
with gr.Accordion("Insanely Fast Whisper Parameters", open=False,
|
208 |
visible=isinstance(self.whisper_inf, InsanelyFastWhisperInference)):
|
@@ -282,8 +284,11 @@ class App:
|
|
282 |
with gr.Accordion("Diarization", open=False):
|
283 |
cb_diarize = gr.Checkbox(label="Enable Diarization")
|
284 |
tb_hf_token = gr.Text(label="HuggingFace Token", value="",
|
285 |
-
info="This is only needed the first time you download the model. If you already have models, you don't need to enter."
|
286 |
-
|
|
|
|
|
|
|
287 |
with gr.Accordion("Insanely Fast Whisper Parameters", open=False,
|
288 |
visible=isinstance(self.whisper_inf, InsanelyFastWhisperInference)):
|
289 |
nb_chunk_length_s = gr.Number(label="Chunk Lengths (sec)", value=30, precision=0)
|
|
|
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)):
|
122 |
nb_chunk_length_s = gr.Number(label="Chunk Lengths (sec)", value=30, precision=0)
|
|
|
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,
|
210 |
visible=isinstance(self.whisper_inf, InsanelyFastWhisperInference)):
|
|
|
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(),
|
291 |
+
value=self.whisper_inf.diarizer.get_device())
|
292 |
with gr.Accordion("Insanely Fast Whisper Parameters", open=False,
|
293 |
visible=isinstance(self.whisper_inf, InsanelyFastWhisperInference)):
|
294 |
nb_chunk_length_s = gr.Number(label="Chunk Lengths (sec)", value=30, precision=0)
|