File size: 704 Bytes
542cdeb
2ac1c18
7c91609
542cdeb
 
 
 
 
 
 
 
 
2ac1c18
2879cb0
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import streamlit as st


add_selectbox = st.sidebar.selectbox(
    'How would you like to be contacted?',
    ('Email', 'Home phone', 'Mobile phone')
)

# Add a slider to the sidebar:
add_slider = st.sidebar.slider(
    'Select a range of values',
    0.0, 100.0, (25.0, 75.0)
)
with st.container():
    st.write("This is inside the container")
    col1, col2, col3 = st.columns(3)
    with col1:
        st.header("A cat")
        st.audio("goodres.wav", format="audio/mpeg", loop=False)
    with col2
        st.header("a dog")
        st.audio("goodres.wav", format="audio/mpeg", loop=False)
    with col3
        st.header("a pumpkin")
        st.audio("goodres.wav", format="audio/mpeg", loop=False)