Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Hugomartinezg
/
DemoconStreamlit
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Hugomartinezg
commited on
Jul 7, 2024
Commit
719cecd
·
verified
·
1 Parent(s):
d60f0c1
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+3
-2
app.py
CHANGED
Viewed
@@ -1,4 +1,5 @@
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
+
4
+
x =
st.
slider
('
Seleccione
un
Valor'
)
5
+
st.write(x, 'Es cuadrado es', x * x)