Pablo Sampaio commited on
Commit
52ff85c
1 Parent(s): 2369060

Using whisper small

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -214,8 +214,8 @@ if USE_LOCAL_ASR_PIPELINE:
214
 
215
  global ASR_PIPELINE
216
  ASR_PIPELINE = pipeline(task="automatic-speech-recognition",
217
- model="openai/whisper-large-v3")
218
- #model="distil-whisper/distil-small.en") # English only
219
  else:
220
  import requests
221
  global ASR_API_URL, ASR_API_HEADERS
 
214
 
215
  global ASR_PIPELINE
216
  ASR_PIPELINE = pipeline(task="automatic-speech-recognition",
217
+ #model="openai/whisper-large-v3")
218
+ model="openai/whisper-small")
219
  else:
220
  import requests
221
  global ASR_API_URL, ASR_API_HEADERS