Spaces:
Build error
Build error
Joaquin Romero Flores
commited on
Commit
·
859305c
1
Parent(s):
adb0bfe
app change performed
Browse files
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
#
|
| 3 |
+
st.title("Square Estimator Demo")
|
| 4 |
+
# Markdown
|
| 5 |
+
st.markdown("Main Description")
|
| 6 |
+
|
| 7 |
+
# Slider set-up to store a numerical value
|
| 8 |
+
x = st.slider("Choose a value: ")
|
| 9 |
+
#
|
| 10 |
+
st.write(x, "the square is ", x * x)
|
| 11 |
+
|