Spaces:
Sleeping
Sleeping
Pablo Sampaio
commited on
Commit
•
52ff85c
1
Parent(s):
2369060
Using whisper small
Browse files
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 |
-
|
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
|