Spaces:
Sleeping
Sleeping
Kvikontent
commited on
Commit
•
857670b
1
Parent(s):
fd0af6e
Update app.py
Browse files
app.py
CHANGED
@@ -43,14 +43,22 @@ if generate_btn:
|
|
43 |
cover2 = generate_image("Generate a cover for this song:" + prompt)
|
44 |
cover3 = generate_image("Generate a thumbnail for this song:" + prompt)
|
45 |
|
46 |
-
st.
|
47 |
-
st.header(title1)
|
48 |
-
st.audio(audio1, format="audio/wav")
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
|
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
cover2 = generate_image("Generate a cover for this song:" + prompt)
|
44 |
cover3 = generate_image("Generate a thumbnail for this song:" + prompt)
|
45 |
|
46 |
+
col1, col2, col3 = st.columns(3)
|
|
|
|
|
47 |
|
48 |
+
with col1:
|
49 |
+
st.image(cover1)
|
50 |
+
st.header(title1)
|
51 |
+
st.audio(audio1, format="audio/wav")
|
52 |
+
st.download_button("Download Audio 1", audio1, file_format="wav")
|
53 |
|
54 |
+
with col2:
|
55 |
+
st.image(cover2)
|
56 |
+
st.header(title2)
|
57 |
+
st.audio(audio2, format="audio/wav")
|
58 |
+
st.download_button("Download Audio 2", audio2, file_format="wav")
|
59 |
+
|
60 |
+
with col3:
|
61 |
+
st.image(cover3)
|
62 |
+
st.header(title3)
|
63 |
+
st.audio(audio3, format="audio/wav")
|
64 |
+
st.download_button("Download Audio 3", audio3, file_format="wav")
|