Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
dmccreary
/
spaces-demo
like
2
Runtime error
App
Files
Files
Community
dmccreary
commited on
Jun 12, 2022
Commit
ced09f1
•
1 Parent(s):
0d88500
Added 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)