dalermust commited on
Commit
5e2b2c6
1 Parent(s): 43de266

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,12 +14,12 @@ from streaming_stt_nemo import Model
14
 
15
  number_to_word = inflect.engine()
16
 
17
- default_lang = "en"
18
 
19
  engines = { default_lang: Model(default_lang) }
20
 
21
  def transcribe(audio):
22
- lang = "en"
23
  model = engines[lang]
24
  text = model.stt_file(audio)[0]
25
  return text
 
14
 
15
  number_to_word = inflect.engine()
16
 
17
+ default_lang = "ru"
18
 
19
  engines = { default_lang: Model(default_lang) }
20
 
21
  def transcribe(audio):
22
+ lang = "ru"
23
  model = engines[lang]
24
  text = model.stt_file(audio)[0]
25
  return text