File size: 1,917 Bytes
542cdeb
e89b904
 
 
 
2ac1c18
34e6575
542cdeb
 
 
 
 
 
 
 
 
2ac1c18
e89b904
66da08c
34e6575
23854f9
2879cb0
0160fa1
 
 
 
 
 
f223387
0160fa1
 
 
 
 
 
23854f9
0160fa1
 
 
 
 
 
23854f9
0160fa1
 
 
 
 
 
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import streamlit as st
audioldm_exmples_input_paths = []
audioldm_exmples_original_paths = []
audioldm_exmples_prompts = []


st.title('Drums generation in different models')
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)
)
st.subheader('This is a subheader with a divider', divider='rainbow')
with st.container(border = True):
    st.title("Examples")
    col1, col2, col3, col4 = st.columns(4)
    with col1:
        with st.container(border = True,height=120):
            st.subheader("original audio")
            # st.write("some prompts...")
            st.audio("goodres.wav", format="audio/mpeg", loop=False)
            # st.write("some prompts...")
            st.audio("goodres.wav", format="audio/mpeg", loop=False)
    with col2:
        with st.container(border = True,height=120):
            st.subheader("Separated Audio")
            # st.write("some prompts...")
            st.audio("goodres.wav", format="audio/mpeg", loop=False)
            # st.write("some prompts...")
            st.audio("goodres.wav", format="audio/mpeg", loop=False)
    with col3:
        with st.container(border = True,height=120):
            st.subheader("AudioLDM2")
            st.write("some prompts...")
            st.audio("goodres.wav", format="audio/mpeg", loop=False)
            st.write("some prompts...")
            st.audio("goodres.wav", format="audio/mpeg", loop=False)
    with col4:
        with st.container(border = True,height=120):
            st.subheader("StableAudio")
            st.write("some prompts...")
            st.audio("goodres.wav", format="audio/mpeg", loop=False)
            st.write("some prompts...")
            st.audio("goodres.wav", format="audio/mpeg", loop=False)