Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import torchaudio
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
# Load only the Moul-Sout-100 model
|
| 6 |
-
asr_pipeline = pipeline("automatic-speech-recognition", model="01Yassine/
|
| 7 |
|
| 8 |
# Adjust generation config if necessary
|
| 9 |
asr_pipeline.model.generation_config.input_ids = asr_pipeline.model.generation_config.forced_decoder_ids
|
|
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
# Load only the Moul-Sout-100 model
|
| 6 |
+
asr_pipeline = pipeline("automatic-speech-recognition", model="01Yassine/moulsot_v0.2_1000")
|
| 7 |
|
| 8 |
# Adjust generation config if necessary
|
| 9 |
asr_pipeline.model.generation_config.input_ids = asr_pipeline.model.generation_config.forced_decoder_ids
|