LAP-DEV commited on
Commit
0684654
·
verified ·
1 Parent(s): 97ef10a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -122,10 +122,10 @@ class App:
122
  value=self.whisper_inf.diarizer.get_device(),
123
  interactive=True, visible=False)
124
 
125
- with gr.Row():
126
  gr.Markdown("⚠ experimental features sdf dsfdsf sdfsd sdfsd")
127
 
128
- with gr.Accordion("Voice Detection Filter (⚠ experimental feature)", open=False, visible=True):
129
  cb_vad_filter = gr.Checkbox(label="Enable Silero VAD Filter", value=vad_params["vad_filter"],
130
  interactive=True,
131
  info="Enable to transcribe only detected voice parts")
@@ -145,7 +145,7 @@ class App:
145
  nb_speech_pad_ms = gr.Number(label="Speech Padding (ms)", precision=0, value=vad_params["speech_pad_ms"],
146
  info="Final speech chunks are padded by this time each side")
147
 
148
- with gr.Accordion("Background Music Remover Filter (⚠ experimental feature)", open=False):
149
  cb_bgm_separation = gr.Checkbox(label="Enable Background Music Remover Filter", value=uvr_params["is_separate_bgm"],
150
  info="Enable to remove background music by submodel before transcribing",
151
  interactive=True)
 
122
  value=self.whisper_inf.diarizer.get_device(),
123
  interactive=True, visible=False)
124
 
125
+ with gr.Group():
126
  gr.Markdown("⚠ experimental features sdf dsfdsf sdfsd sdfsd")
127
 
128
+ with gr.Accordion("Voice Detection Filter", open=False, visible=True):
129
  cb_vad_filter = gr.Checkbox(label="Enable Silero VAD Filter", value=vad_params["vad_filter"],
130
  interactive=True,
131
  info="Enable to transcribe only detected voice parts")
 
145
  nb_speech_pad_ms = gr.Number(label="Speech Padding (ms)", precision=0, value=vad_params["speech_pad_ms"],
146
  info="Final speech chunks are padded by this time each side")
147
 
148
+ with gr.Accordion("Background Music Remover Filter", open=False):
149
  cb_bgm_separation = gr.Checkbox(label="Enable Background Music Remover Filter", value=uvr_params["is_separate_bgm"],
150
  info="Enable to remove background music by submodel before transcribing",
151
  interactive=True)