Vageesh1 commited on
Commit
20dacec
1 Parent(s): ea6a6b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def ui():
60
 
61
  in_text=st.text_input("Paste the text you want to hear from english to hindi")
62
  if in_text is not None and in_text.strip() != "":
63
- hin_text=translate(in_text)
64
  audio = generate(text=hin_text, voice=voice)
65
 
66
  st.audio(audio)
 
60
 
61
  in_text=st.text_input("Paste the text you want to hear from english to hindi")
62
  if in_text is not None and in_text.strip() != "":
63
+ hin_text=translate_english_to_hindi(in_text)
64
  audio = generate(text=hin_text, voice=voice)
65
 
66
  st.audio(audio)