bug fix
Browse files
ui/app.py
CHANGED
@@ -29,7 +29,7 @@ form1 = st.form(key="form1")
|
|
29 |
song_default = np.random.choice(["22", "Anti-Hero", "Back-To-December","Blank-Space","Cardigan","Delicate","Lover","Love-Story","Willow","You-Belong-With-Me"])
|
30 |
similarity_default = np.random.uniform(0.8, 0.99).__round__(2)
|
31 |
user_id = form1.text_input("Enter your user ID")
|
32 |
-
song_options = form1.multiselect("Select songs from library",["22", "Anti-Hero", "Back-
|
33 |
similarity = form1.slider("Similarity", 0.0, 1.0, similarity_default)
|
34 |
submit = form1.form_submit_button("Submit")
|
35 |
|
|
|
29 |
song_default = np.random.choice(["22", "Anti-Hero", "Back-To-December","Blank-Space","Cardigan","Delicate","Lover","Love-Story","Willow","You-Belong-With-Me"])
|
30 |
similarity_default = np.random.uniform(0.8, 0.99).__round__(2)
|
31 |
user_id = form1.text_input("Enter your user ID")
|
32 |
+
song_options = form1.multiselect("Select songs from library",["22", "Anti-Hero", "Back-To-December","Blank-Space","Cardigan","Delicate","Lover","Love-Story","Willow","You-Belong-With-Me"], default=[song_default])
|
33 |
similarity = form1.slider("Similarity", 0.0, 1.0, similarity_default)
|
34 |
submit = form1.form_submit_button("Submit")
|
35 |
|