Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,14 @@ def launch_bot():
|
|
117 |
# st.session_state.messages.append({"role": "user", "content": "Convert to Audio π"})
|
118 |
# with st.chat_message("user"):
|
119 |
# st.write("Convert to Audio π")
|
120 |
-
with st.expander("<b><font size='+2'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
sound_file = BytesIO()
|
122 |
tts = gTTS(response, lang='en')
|
123 |
tts.write_to_fp(sound_file)
|
|
|
117 |
# st.session_state.messages.append({"role": "user", "content": "Convert to Audio π"})
|
118 |
# with st.chat_message("user"):
|
119 |
# st.write("Convert to Audio π")
|
120 |
+
with st.expander("<b><font size='+2'></font></b>"):
|
121 |
+
text = rf"""
|
122 |
+
:speaker: **Convert to Audio**
|
123 |
+
|
124 |
+
"""
|
125 |
+
|
126 |
+
|
127 |
+
with st.expander(text, expanded=False):
|
128 |
sound_file = BytesIO()
|
129 |
tts = gTTS(response, lang='en')
|
130 |
tts.write_to_fp(sound_file)
|