Spaces:
Runtime error
Runtime error
Commit
·
6f5f034
1
Parent(s):
94da7b9
Update app.py
Browse files
app.py
CHANGED
@@ -44,13 +44,13 @@ option = st.selectbox(
|
|
44 |
'Please choose your input style.',
|
45 |
('Enter own text input.', 'Try one of the app\'s examples.'))
|
46 |
|
47 |
-
if option
|
48 |
|
49 |
with st.form(key="form1"):
|
50 |
emo = st.text_input("Enter a text/phrase/sentence. A corresponding song will be recommended based on its emotion.")
|
51 |
submit = st.form_submit_button("Generate Playlist!")
|
52 |
|
53 |
-
if option
|
54 |
st.write('tester')
|
55 |
|
56 |
|
|
|
44 |
'Please choose your input style.',
|
45 |
('Enter own text input.', 'Try one of the app\'s examples.'))
|
46 |
|
47 |
+
if (option == 'Enter own text input.'):
|
48 |
|
49 |
with st.form(key="form1"):
|
50 |
emo = st.text_input("Enter a text/phrase/sentence. A corresponding song will be recommended based on its emotion.")
|
51 |
submit = st.form_submit_button("Generate Playlist!")
|
52 |
|
53 |
+
if (option == 'Try one of the app\'s examples.'):
|
54 |
st.write('tester')
|
55 |
|
56 |
|