GMGowtham commited on
Commit
9be39f6
·
verified ·
1 Parent(s): 1319256

added dummy chat_input component of streamlit

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,4 +1,7 @@
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
+ import streamlit as st
4
+
5
+ prompt = st.chat_input("Say something")
6
+ if prompt:
7
+ st.write(f"User has sent the following prompt: {prompt}")