Spaces:
Sleeping
Sleeping
change the model used in whisper
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ print("Initializing Hugging Face Space environment...")
|
|
| 9 |
device = "cpu"
|
| 10 |
|
| 11 |
print("Loading Whisper STT Model...")
|
| 12 |
-
whisper_model = whisper.load_model("
|
| 13 |
|
| 14 |
model_path = "Akariieieie/fine_tuned_dialectgov11"
|
| 15 |
print(f"Loading custom NLLB model from {model_path}...")
|
|
|
|
| 9 |
device = "cpu"
|
| 10 |
|
| 11 |
print("Loading Whisper STT Model...")
|
| 12 |
+
whisper_model = whisper.load_model("base", device=device)
|
| 13 |
|
| 14 |
model_path = "Akariieieie/fine_tuned_dialectgov11"
|
| 15 |
print(f"Loading custom NLLB model from {model_path}...")
|