File size: 2,837 Bytes
1bc4a9c
 
 
65297c2
 
 
 
 
 
 
 
 
 
 
 
1bc4a9c
65297c2
6aae4cd
 
 
65297c2
 
 
 
 
 
 
 
 
6aae4cd
861914a
65297c2
 
6aae4cd
 
 
65297c2
6aae4cd
 
 
 
65297c2
6aae4cd
 
1bc4a9c
65297c2
 
 
 
 
 
 
 
 
1bc4a9c
65297c2
 
 
1bc4a9c
 
 
6aae4cd
 
 
 
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
import streamlit as st

# Sidebar
st.sidebar.title("Suno")
st.sidebar.button("Home")
st.sidebar.button("Create")
st.sidebar.button("Library")
st.sidebar.button("Explore (BETA)")
st.sidebar.markdown("---")
st.sidebar.write("2360 credits")
st.sidebar.button("Subscription")
st.sidebar.button("What's New?")
st.sidebar.button("Community")
st.sidebar.button("Help")
st.sidebar.button("About")

# Main content
st.title("Create")

# Form
st.subheader("Custom Mode")
custom_mode = st.checkbox("Custom Mode")

st.subheader("Song Description")
song_description = st.text_area("Song Description", "a futuristic anime song about a literal banana")

instrumental = st.checkbox("Instrumental")

version = st.selectbox("Version", ["v3", "v2", "v1"])
st.button("Create ๐ŸŽต")

# Song list
songs = [
    {"title": "Dance Under The Moonlight", "description": "acoustic guitar flamenco dance beat kizomba soaring vocalist progressive house", "version": "v3"},
    {"title": "The Tale of Yggdrasil", "description": "folk acoustic storytelling", "version": "v3"},
    {"title": "The Song of Yggdrasil", "description": "tropical latin acoustic", "version": "v3"},
    {"title": "The Song of Yggdrasil", "description": "tropical latin acoustic", "version": "v3"},
    {"title": "Sacred Frequencies", "description": "progressive edm uplifting", "version": "v3"},
    {"title": "Let's Get Jokin'", "description": "progressive house electronic dubstep", "version": "v3"},
    {"title": "Jokes That Make You Dance", "description": "marching band progressive house dance", "version": "v3"},
    {"title": "Joke Parade", "description": "progressive house dance 128bpm marching band bass drum dubstep", "version": "v3"},
    {"title": "Joke Parade", "description": "progressive house dance 128bpm marching band bass drum dubstep", "version": "v3"},
    {"title": "Laughing On The Dancefloor", "description": "128bpm progressive house dance", "version": "v3"},
]

for i, song in enumerate(songs):
    st.image("https://via.placeholder.com/50", width=50)  # Placeholder for song image
    st.write(f"**{song['title']}**")
    st.write(song['description'])
    st.write(f"Version: {song['version']}")
    st.button("Extend", key=f"extend_{i}")
    st.checkbox("Public", key=f"public_{i}")
    st.button("๐Ÿ‘", key=f"thumbs_up_{i}")
    st.button("๐Ÿ‘Ž", key=f"thumbs_down_{i}")

# Preview section
st.sidebar.markdown("---")
st.sidebar.write("Select a song to preview.")



# Inject process methods steps and input
st.image("Suno.png")
st.write('This example tests AIPP and GPT4o text and image prompts to take a screenshot and produce a one shot app using streamlit and python app.  Prompt:  Provide a development analysis of the layout of this html5 web app and create a streamlit python UI that duplicates exactly the layout features and text of each UI element.')