vladelesin commited on
Commit
8ab88f8
1 Parent(s): 49d9692

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from transformers import VitsModel, VitsTokenizer, FSMTForConditionalGeneration,
9
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
10
 
11
  # Transform audio to en text
12
- asr_pipe = pipeline("automatic-speech-recognition", model="asapp/sew-d-tiny-400k-ft-ls100h", device=device)
13
 
14
  # Translate en to rus text
15
  translation_en_to_rus = pipeline("translation", model="Helsinki-NLP/opus-mt-en-ru")
 
9
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
10
 
11
  # Transform audio to en text
12
+ asr_pipe = pipeline("automatic-speech-recognition", model="asapp/sew-d-tiny-100k-ft-ls100h", device=device)
13
 
14
  # Translate en to rus text
15
  translation_en_to_rus = pipeline("translation", model="Helsinki-NLP/opus-mt-en-ru")