chaouch commited on
Commit
950d1a2
1 Parent(s): 7b9bf4b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ asr_pipe = pipeline("automatic-speech-recognition",
26
  # embeddings_dataset[7306]["xvector"]).unsqueeze(0)
27
 
28
 
29
- model_nld = VitsModel.from_pretrained("facebook/mms-tts-nld")
30
- tokenizer = VitsTokenizer.from_pretrained("facebook/mms-tts-nld")
31
 
32
 
33
  def translate(audio):
 
26
  # embeddings_dataset[7306]["xvector"]).unsqueeze(0)
27
 
28
 
29
+ model_nld = VitsModel.from_pretrained("facebook/mms-tts-ara")
30
+ tokenizer = VitsTokenizer.from_pretrained("facebook/mms-tts-ara")
31
 
32
 
33
  def translate(audio):