File size: 403 Bytes
33c1bfe
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import streamlit as st

st.title("Demo elevar al cuadrado")
st.markdown("Demo para elevar al cuadrado un número del 1 al 100")
x = st.slider("Selecciona un valor")
st.write(x, "el cuadrado es ", x * x)

# For run: streamlit run c:/Users/jdbul/OneDrive/Escritorio/Platzi/DeepLearning/6.IntroDemosHuggingFace/PruebaStreamlit/app.py
# ctrl + c para parar el demo en terminal!


# Subirlo a HuggingFace:
#