kmaurinjones commited on
Commit
2e43002
1 Parent(s): b92d253

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -21,18 +21,20 @@ delay_max = st.number_input(label = "Maximum delay per iteration. We recommend a
21
  artist_name = st.text_input("Enter artist name here", value = "jn mayer") # delete this when done
22
  titles_list = []
23
  song_1 = st.text_input("Enter 1st song title here", value = "gravity")
24
- titles_list.append(song_1)
25
  if song_1:
26
  song_2 = st.text_input("Enter 2nd song title here", value = "slowin dancing burbg room")
27
- titles_list.append(song_2)
28
  if song_2:
29
  song_3 = st.text_input("Enter 3rd song title here")
30
- titles_list.append(song_3)
31
  if song_3:
32
  song_4 = st.text_input("Enter 4th song title here")
33
- titles_list.append(song_4)
34
  if song_4:
35
  song_5 = st.text_input("Enter 5th song title here")
 
 
36
  titles_list.append(song_5)
37
 
38
  st.write(titles_list)
 
21
  artist_name = st.text_input("Enter artist name here", value = "jn mayer") # delete this when done
22
  titles_list = []
23
  song_1 = st.text_input("Enter 1st song title here", value = "gravity")
24
+
25
  if song_1:
26
  song_2 = st.text_input("Enter 2nd song title here", value = "slowin dancing burbg room")
27
+ titles_list.append(song_1)
28
  if song_2:
29
  song_3 = st.text_input("Enter 3rd song title here")
30
+ titles_list.append(song_2)
31
  if song_3:
32
  song_4 = st.text_input("Enter 4th song title here")
33
+ titles_list.append(song_3)
34
  if song_4:
35
  song_5 = st.text_input("Enter 5th song title here")
36
+ titles_list.append(song_4)
37
+ if song_5:
38
  titles_list.append(song_5)
39
 
40
  st.write(titles_list)