Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
| 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)
|