Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
|
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')
|