Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
alkzar90
/
streamlit-demo-example
like
1
Runtime error
App
Files
Files
Community
alkzar90
commited on
Mar 6, 2022
Commit
1fcb538
•
1 Parent(s):
ae77ee6
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)