Rockramsri commited on
Commit
f45ab7a
·
verified ·
1 Parent(s): f7f4d28
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import streamlit as st
2
 
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
1
  import streamlit as st
2
 
3
+ prompt = st.chat_input("Say something")
4
+ if prompt:
5
+ st.write(f"User has sent the following prompt: {prompt}")