Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ pipe = pipeline(
|
|
| 36 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
| 37 |
|
| 38 |
pipe = pipeline(
|
| 39 |
-
|
| 40 |
# model="openai/whisper-base",
|
| 41 |
model = "microsoft/whisper-base-webnn",
|
| 42 |
chunk_length_s=30,
|
|
|
|
| 36 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
| 37 |
|
| 38 |
pipe = pipeline(
|
| 39 |
+
"automatic-speech-recognition",
|
| 40 |
# model="openai/whisper-base",
|
| 41 |
model = "microsoft/whisper-base-webnn",
|
| 42 |
chunk_length_s=30,
|