Spaces:
Build error
Build error
Commit
·
4209458
1
Parent(s):
055452e
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,21 +44,23 @@ else:
|
|
| 44 |
instructions = "Press enter to add more"
|
| 45 |
|
| 46 |
genre = st_tags(
|
| 47 |
-
label = '
|
| 48 |
text = instructions,
|
| 49 |
suggestions = GENRE_TAGS,
|
| 50 |
maxtags = MAX_TAGS,
|
| 51 |
key = '1'
|
| 52 |
)
|
|
|
|
| 53 |
mood = st_tags(
|
| 54 |
-
label = '
|
| 55 |
text = instructions,
|
| 56 |
suggestions = MOOD_TAGS,
|
| 57 |
maxtags = MAX_TAGS,
|
| 58 |
key = '2'
|
| 59 |
)
|
|
|
|
| 60 |
instrument = st_tags(
|
| 61 |
-
label = '
|
| 62 |
text = instructions,
|
| 63 |
suggestions = INSTRUMENT_TAGS,
|
| 64 |
maxtags = MAX_TAGS,
|
|
@@ -68,7 +70,5 @@ else:
|
|
| 68 |
# SUBMIT TAGS
|
| 69 |
if st.button("Submit Tags"):
|
| 70 |
st.write("Tags are:")
|
| 71 |
-
# input = genre + ", " + mood + ", " + instrument
|
| 72 |
-
# input = input.split(", ")
|
| 73 |
input = genre + mood + instrument
|
| 74 |
st.write(str(input))
|
|
|
|
| 44 |
instructions = "Press enter to add more"
|
| 45 |
|
| 46 |
genre = st_tags(
|
| 47 |
+
label = 'Enter Genre(s):',
|
| 48 |
text = instructions,
|
| 49 |
suggestions = GENRE_TAGS,
|
| 50 |
maxtags = MAX_TAGS,
|
| 51 |
key = '1'
|
| 52 |
)
|
| 53 |
+
|
| 54 |
mood = st_tags(
|
| 55 |
+
label = 'Enter Mood/Theme(s):',
|
| 56 |
text = instructions,
|
| 57 |
suggestions = MOOD_TAGS,
|
| 58 |
maxtags = MAX_TAGS,
|
| 59 |
key = '2'
|
| 60 |
)
|
| 61 |
+
|
| 62 |
instrument = st_tags(
|
| 63 |
+
label = 'Enter Instrument(s):',
|
| 64 |
text = instructions,
|
| 65 |
suggestions = INSTRUMENT_TAGS,
|
| 66 |
maxtags = MAX_TAGS,
|
|
|
|
| 70 |
# SUBMIT TAGS
|
| 71 |
if st.button("Submit Tags"):
|
| 72 |
st.write("Tags are:")
|
|
|
|
|
|
|
| 73 |
input = genre + mood + instrument
|
| 74 |
st.write(str(input))
|