jhj0517 commited on
Commit
815f5df
1 Parent(s): 670baea

Enable VAD in every implementation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ class App:
137
  nb_chunk_length_s = gr.Number(label="Chunk Lengths (sec)", value=30, precision=0)
138
  nb_batch_size = gr.Number(label="Batch Size", value=24, precision=0)
139
 
140
- with gr.Accordion("VAD", open=False, visible=isinstance(self.whisper_inf, FasterWhisperInference)):
141
  cb_vad_filter = gr.Checkbox(label="Enable Silero VAD Filter", value=False, interactive=True)
142
  sd_threshold = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, label="Speech Threshold", value=0.5,
143
  info="Lower it to be more sensitive to small sounds.")
 
137
  nb_chunk_length_s = gr.Number(label="Chunk Lengths (sec)", value=30, precision=0)
138
  nb_batch_size = gr.Number(label="Batch Size", value=24, precision=0)
139
 
140
+ with gr.Accordion("VAD", open=False):
141
  cb_vad_filter = gr.Checkbox(label="Enable Silero VAD Filter", value=False, interactive=True)
142
  sd_threshold = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, label="Speech Threshold", value=0.5,
143
  info="Lower it to be more sensitive to small sounds.")