xujinheng666 commited on
Commit
bfe1948
·
verified ·
1 Parent(s): 864fbcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ language = "zh"
15
  pipe = pipeline(
16
  task="automatic-speech-recognition",
17
  model=MODEL_NAME,
18
- chunk_length_s=30,
19
  device=device,
20
  generate_kwargs={
21
  "no_repeat_ngram_size": 4,
 
15
  pipe = pipeline(
16
  task="automatic-speech-recognition",
17
  model=MODEL_NAME,
18
+ chunk_length_s=10,
19
  device=device,
20
  generate_kwargs={
21
  "no_repeat_ngram_size": 4,