app / app.py
michaelpiro1's picture
Update app.py
0160fa1 verified
raw
history blame
1.92 kB
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)