Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
yaowenxu
/
demo-space
like
0
Sleeping
App
Files
Files
Community
yaowenxu
commited on
Aug 9, 2023
Commit
e576077
•
1 Parent(s):
c845c03
add app.py
Browse files
Files changed (1)
hide
show
app.py
+4
-0
app.py
ADDED
Viewed
@@ -0,0 +1,4 @@
1
+
import streamlit as st
2
+
3
+
x = st.slider('Select a value')
4
+
st.write(x, 'squared is', x * x)