Daniel Tse
commited on
Commit
·
752daec
1
Parent(s):
e3d61f6
Change model to small.en
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def transcribe_audio(audiofile):
|
|
| 25 |
|
| 26 |
pipe = pipeline(
|
| 27 |
"automatic-speech-recognition",
|
| 28 |
-
model="openai/whisper-
|
| 29 |
chunk_length_s=30,
|
| 30 |
device=device,
|
| 31 |
max_new_tokens=60,
|
|
|
|
| 25 |
|
| 26 |
pipe = pipeline(
|
| 27 |
"automatic-speech-recognition",
|
| 28 |
+
model="openai/whisper-small.en",
|
| 29 |
chunk_length_s=30,
|
| 30 |
device=device,
|
| 31 |
max_new_tokens=60,
|