Spaces:
Runtime error
Runtime error
Commit
·
9ae0ec5
1
Parent(s):
35bc265
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,8 +4,6 @@ import torch
|
|
| 4 |
import librosa
|
| 5 |
import soundfile
|
| 6 |
|
| 7 |
-
SAMPLE_RATE = 16000
|
| 8 |
-
|
| 9 |
checkpoint = "openai/whisper-small"
|
| 10 |
|
| 11 |
pipe = pipeline(model=checkpoint)
|
|
|
|
| 4 |
import librosa
|
| 5 |
import soundfile
|
| 6 |
|
|
|
|
|
|
|
| 7 |
checkpoint = "openai/whisper-small"
|
| 8 |
|
| 9 |
pipe = pipeline(model=checkpoint)
|