Solshine commited on
Commit
4b5b0e4
1 Parent(s): 0acfb8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -3,10 +3,13 @@ from gtts import gTTS
3
  from io import BytesIO
4
 
5
  x = st.slider('Select a value')
6
- st.write(x, 'squared is', x * x)
 
 
7
 
8
  prompt = st.chat_input("Say something")
9
  if prompt:
 
10
  with st.popover("Open popover"):
11
  sound_file = BytesIO()
12
  tts = gTTS(prompt, lang='en')
 
3
  from io import BytesIO
4
 
5
  x = st.slider('Select a value')
6
+ slider_reply = x, 'squared is', x * x
7
+ st.write(slider_reply)
8
+
9
 
10
  prompt = st.chat_input("Say something")
11
  if prompt:
12
+ st.write(prompt + "and" + slider_reply)
13
  with st.popover("Open popover"):
14
  sound_file = BytesIO()
15
  tts = gTTS(prompt, lang='en')