Spaces:
Sleeping
Sleeping
danielritchie
commited on
Commit
•
4e96901
1
Parent(s):
7b98715
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
x = st.slider('Select a value')
|
4 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
x = st.slider('Select a value')
|
4 |
+
st.slider('Slide me', min_value=1, max_value=2)
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
st.write(x, 'squared is', x * x)
|
9 |
+
|
10 |
+
st.text('Fixed width text')
|
11 |
+
st.markdown('_Markdown_') # see #*
|
12 |
+
st.caption('Balloons. Hundreds of them...')
|
13 |
+
st.latex(r''' e^{i\pi} + 1 = 0 ''')
|
14 |
+
st.write('Most objects') # df, err, func, keras!
|
15 |
+
st.write(['st', 'is <', 3]) # see *
|
16 |
+
st.title('My title')
|
17 |
+
st.header('My header')
|
18 |
+
st.subheader('My sub')
|
19 |
+
st.code('for i in range(8): foo()')
|
20 |
+
|