Spaces:
Sleeping
Sleeping
Update to whisper-amharic-small-v2 model
Browse files
app.py
CHANGED
|
@@ -7,10 +7,10 @@ import librosa
|
|
| 7 |
# Amharic Transcriber Space - Updated
|
| 8 |
# Load model from Hub
|
| 9 |
model = WhisperForConditionalGeneration.from_pretrained(
|
| 10 |
-
"
|
| 11 |
)
|
| 12 |
processor = WhisperProcessor.from_pretrained(
|
| 13 |
-
"
|
| 14 |
)
|
| 15 |
|
| 16 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 7 |
# Amharic Transcriber Space - Updated
|
| 8 |
# Load model from Hub
|
| 9 |
model = WhisperForConditionalGeneration.from_pretrained(
|
| 10 |
+
"chappM/whisper-amharic-small-v2"
|
| 11 |
)
|
| 12 |
processor = WhisperProcessor.from_pretrained(
|
| 13 |
+
"chappM/whisper-amharic-small-v2"
|
| 14 |
)
|
| 15 |
|
| 16 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|