abdeljalilELmajjodi commited on
Commit
e1b40db
·
verified ·
1 Parent(s): 1ab0d76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/moul-sout-1000")
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