Solshine commited on
Commit
44e6c56
1 Parent(s): dffb983

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -21,12 +21,12 @@ if uploaded_file is not None:
21
 
22
  element = output.getvalue()
23
  st.write(element)
24
- with st.popover("Open popover"):
25
- sound_file = BytesIO()
26
- tts = gTTS(element, lang='en')
27
- tts.write_to_fp(sound_file)
28
 
29
- st.audio(sound_file)
30
 
31
 
32
 
 
21
 
22
  element = output.getvalue()
23
  st.write(element)
24
+ with st.popover("Open popover"):
25
+ sound_file = BytesIO()
26
+ tts = gTTS(element, lang='en')
27
+ tts.write_to_fp(sound_file)
28
 
29
+ st.audio(sound_file)
30
 
31
 
32