Spaces:
No application file
No application file
Create app.py
#1
by
Gkason
- opened
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
git clone https://huggingface.co/spaces/flax-community/example
|
| 2 |
+
|
| 3 |
+
import streamlit as st
|
| 4 |
+
|
| 5 |
+
x = st.slider('Select a value')
|
| 6 |
+
st.write(x, 'squared is', x * x)
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
git add app.py
|
| 10 |
+
git commit -m "Add application file"
|
| 11 |
+
git push
|