Spaces:
Runtime error
Runtime error
vodkaslime
commited on
Commit
•
c892105
1
Parent(s):
11bcd26
first commit
Browse files- .vscode/settings.json +6 -0
- app.py +4 -0
.vscode/settings.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[python]": {
|
3 |
+
"editor.defaultFormatter": "ms-python.black-formatter"
|
4 |
+
},
|
5 |
+
"python.formatting.provider": "none"
|
6 |
+
}
|
app.py
ADDED
@@ -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)
|