Spaces:
Runtime error
Runtime error
Commit
·
78178a6
1
Parent(s):
f5c8ccd
Upgrade whisper to v2 large
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
| 14 |
|
| 15 |
whisper_model = pipeline(
|
| 16 |
task="automatic-speech-recognition",
|
| 17 |
-
model="openai/whisper-
|
| 18 |
chunk_length_s=30,
|
| 19 |
device=device,
|
| 20 |
)
|
|
|
|
| 14 |
|
| 15 |
whisper_model = pipeline(
|
| 16 |
task="automatic-speech-recognition",
|
| 17 |
+
model="openai/whisper-large-v2",
|
| 18 |
chunk_length_s=30,
|
| 19 |
device=device,
|
| 20 |
)
|