Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ if st.button('Aclarar'):
|
|
56 |
if user_input == "":
|
57 |
st.write("Pega un texto aquí")
|
58 |
else:
|
59 |
-
speech_file =
|
60 |
st.audio(speech_file, format='audio/wav')
|
61 |
|
62 |
|
|
|
56 |
if user_input == "":
|
57 |
st.write("Pega un texto aquí")
|
58 |
else:
|
59 |
+
speech_file = generate_audio(user_input)
|
60 |
st.audio(speech_file, format='audio/wav')
|
61 |
|
62 |
|