Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
5 |
|
6 |
# Load the fine-tuned model and processor
|
7 |
-
model_name_or_path = "
|
8 |
processor = Wav2Vec2Processor.from_pretrained(model_name_or_path)
|
9 |
model = Wav2Vec2ForCTC.from_pretrained(model_name_or_path)
|
10 |
|
|
|
4 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
5 |
|
6 |
# Load the fine-tuned model and processor
|
7 |
+
model_name_or_path = "sarahai/uzbek-stt-3" # Replace with your model's path
|
8 |
processor = Wav2Vec2Processor.from_pretrained(model_name_or_path)
|
9 |
model = Wav2Vec2ForCTC.from_pretrained(model_name_or_path)
|
10 |
|