Solshine commited on
Commit
1ca61f0
β€’
1 Parent(s): 6eb22aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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'>Convert to Audio πŸ”Š</font></b>", unsafe_allow_html=True):
 
 
 
 
 
 
 
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)