File size: 3,411 Bytes
542cdeb
e89b904
 
 
 
2ac1c18
34e6575
542cdeb
 
 
 
 
 
 
 
 
2ac1c18
e89b904
7c1dbf5
34e6575
23854f9
2879cb0
7c1dbf5
0160fa1
7c1dbf5
0160fa1
 
 
 
f223387
7c1dbf5
0160fa1
7c1dbf5
0160fa1
 
 
 
23854f9
7c1dbf5
0160fa1
7c1dbf5
0160fa1
 
 
 
23854f9
7c1dbf5
0160fa1
 
 
 
2e2d848
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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, height=300):
    st.title("Examples")
    col1, col2, col3, col4 = st.columns(4)
    with col1:
        st.subheader("original audio")
        with st.container(border = True,height=120):

            # 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:
        st.subheader("Separated Audio")
        with st.container(border = True,height=120):

            # 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:
        st.subheader("AudioLDM2")
        with st.container(border = True,height=120):

            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:
        st.subheader("StableAudio")
        with st.container(border = True,height=120):
            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 st.container(border = True,height=120):
        st.write("some prompts...")
        col1, col2, col3, col4 = st.columns(4)
        with col1:
            # 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:
            # st.subheader("Separated Audio")
            # with st.container(border = True,height=120):
    
                # 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:
            # st.subheader("AudioLDM2")
            # with st.container(border = True,height=120):
    
                # 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:
            # st.subheader("StableAudio")
            # with st.container(border = True,height=120):
                # 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)