Spaces:
Runtime error
Runtime error
Commit
·
9de2735
1
Parent(s):
cb68822
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,8 +13,11 @@ def tester(text):
|
|
| 13 |
#tester(emo)
|
| 14 |
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
|
| 20 |
|
|
|
|
| 13 |
#tester(emo)
|
| 14 |
|
| 15 |
|
| 16 |
+
with st.form(key="form1"):
|
| 17 |
+
emo = st.text_input("Enter a text/phrase/sentence. A corresponding song will be recommended based on its emotion.", placeholder="tester po")
|
| 18 |
+
submit = st.form_submit_button("Generate Playlist!")
|
| 19 |
|
| 20 |
+
tester(emo):
|
| 21 |
|
| 22 |
|
| 23 |
|