Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ device = "cpu"
|
|
| 11 |
print("Loading Whisper STT Model...")
|
| 12 |
whisper_model = whisper.load_model("medium", device=device)
|
| 13 |
|
| 14 |
-
model_path = "Akariieieie/
|
| 15 |
print(f"Loading custom NLLB model from {model_path}...")
|
| 16 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
| 17 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_path).to(device)
|
|
|
|
| 11 |
print("Loading Whisper STT Model...")
|
| 12 |
whisper_model = whisper.load_model("medium", device=device)
|
| 13 |
|
| 14 |
+
model_path = "Akariieieie/fine_tuned_dialectgov13"
|
| 15 |
print(f"Loading custom NLLB model from {model_path}...")
|
| 16 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
| 17 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_path).to(device)
|