Spaces:
Running
Running
Commit
•
250903a
1
Parent(s):
b2b0b05
Update app.py
Browse files
app.py
CHANGED
@@ -27,12 +27,12 @@ song_5 = st.text_input("Enter 5th song title here")
|
|
27 |
solve_button = st.button('Find Data')
|
28 |
if not solve_button: # button to make everything run
|
29 |
st.write("Please check again that the starting word and target word only contain letter and are both 5 letters in length. Once they are, click the 'Abracadabra' button once more.")
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
# artist_df.to_csv(f"{artist_name.lower()}_data.csv")
|
37 |
|
38 |
# user downloads found data here
|
|
|
27 |
solve_button = st.button('Find Data')
|
28 |
if not solve_button: # button to make everything run
|
29 |
st.write("Please check again that the starting word and target word only contain letter and are both 5 letters in length. Once they are, click the 'Abracadabra' button once more.")
|
30 |
+
else: # if the passed words don't check every criteria
|
31 |
+
artist_df = get_all_data(artist_name = artist_name,
|
32 |
+
song_titles = song_1 + song_2 + song_3 + song_4 + song_5,
|
33 |
+
delay = (delay_min, delay_max), # random float value between (delay_min, delay_max) seconds
|
34 |
+
print_progress = True)
|
35 |
+
|
36 |
# artist_df.to_csv(f"{artist_name.lower()}_data.csv")
|
37 |
|
38 |
# user downloads found data here
|