Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,6 +63,8 @@ def save_audio(samples: torch.Tensor):
|
|
63 |
|
64 |
return save_path
|
65 |
|
|
|
|
|
66 |
|
67 |
st.set_page_config(
|
68 |
page_icon= "musical_note",
|
@@ -71,7 +73,7 @@ st.set_page_config(
|
|
71 |
|
72 |
def main():
|
73 |
with st.sidebar:
|
74 |
-
st.header("""⚙️Generate Music ⚙️""",divider="rainbow")
|
75 |
st.text("")
|
76 |
st.subheader("1. Enter your music description.......")
|
77 |
bpm = st.number_input("Enter Speed in BPM", min_value=60)
|
|
|
63 |
|
64 |
return save_path
|
65 |
|
66 |
+
# Define the genres list
|
67 |
+
genres = ["Pop", "Rock", "Jazz", "Electronic", "Hip-Hop", "Classical", "Lofi", "Chillpop"]
|
68 |
|
69 |
st.set_page_config(
|
70 |
page_icon= "musical_note",
|
|
|
73 |
|
74 |
def main():
|
75 |
with st.sidebar:
|
76 |
+
st.header("""⚙️Generate Music ⚙️""", divider="rainbow")
|
77 |
st.text("")
|
78 |
st.subheader("1. Enter your music description.......")
|
79 |
bpm = st.number_input("Enter Speed in BPM", min_value=60)
|