aadnk commited on
Commit
b1d4eff
1 Parent(s): 8781620

Change the default merge window to 5.

Browse files

This is effectively 7 seconds, as each speech section is
also padded with one second.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -197,7 +197,7 @@ def createUi(inputAudioMaxDuration, share=False, server_name: str = None):
197
  gr.Audio(source="microphone", type="filepath", label="Microphone Input"),
198
  gr.Dropdown(choices=["transcribe", "translate"], label="Task"),
199
  gr.Dropdown(choices=["none", "silero-vad", "silero-vad-skip-gaps", "periodic-vad"], label="VAD"),
200
- gr.Number(label="VAD - Merge Window (s)", precision=0, value=10),
201
  gr.Number(label="VAD - Max Merge Size (s)", precision=0, value=150)
202
  ], outputs=[
203
  gr.File(label="Download"),
 
197
  gr.Audio(source="microphone", type="filepath", label="Microphone Input"),
198
  gr.Dropdown(choices=["transcribe", "translate"], label="Task"),
199
  gr.Dropdown(choices=["none", "silero-vad", "silero-vad-skip-gaps", "periodic-vad"], label="VAD"),
200
+ gr.Number(label="VAD - Merge Window (s)", precision=0, value=5),
201
  gr.Number(label="VAD - Max Merge Size (s)", precision=0, value=150)
202
  ], outputs=[
203
  gr.File(label="Download"),