Marco-Cheung commited on
Commit
c380f5d
1 Parent(s): d9ef3bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ max_range = np.iinfo(target_dtype).max
10
 
11
  # load speech translation checkpoint
12
  ASR_MODEL_NAME = 'openai/whisper-base'
13
- asr_pipe = pipeline("automatic-speech-recognition", model=ASR_MODEL_NAME, chunk_length_s=30, device=device)
14
 
15
 
16
  # load text-to-speech checkpoint
 
10
 
11
  # load speech translation checkpoint
12
  ASR_MODEL_NAME = 'openai/whisper-base'
13
+ asr_pipe = pipeline("automatic-speech-recognition", model=ASR_MODEL_NAME, device=device)
14
 
15
 
16
  # load text-to-speech checkpoint