Spaces:
Runtime error
Runtime error
kaixinwang
commited on
Commit
•
58b2e8b
1
Parent(s):
b7a1a0d
Update app.py
Browse files
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 |
x = st.slider('Select a value')
|
4 |
+
st.write(x, 'squared is', x * x)
|
5 |
+
|
6 |
+
x = st.text_input("Type in your review here:")
|
7 |
+
st.write("Your review is:", x)
|