Spaces:
Runtime error
Runtime error
Ramaseshan-Ramachandran commited on
Commit ·
a9775a5
1
Parent(s): 1ad0f76
Added app.py
Browse files- .gitignore +2 -0
- code/app.py +4 -0
.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
.DS_Store
|
code/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)
|