Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
ZoeDuan
/
AI
like
0
Sleeping
App
Files
Files
Community
Duan
commited on
Jan 18
Commit
fd98c18
•
1 Parent(s):
598a9da
Add application file
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)