Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -99,12 +99,12 @@ def generate_response(user_query, relevant_segment):
|
|
99 |
Check if the question contains a keyword and return the corresponding Youtube playlist link.
|
100 |
"""
|
101 |
keyword_links = {
|
102 |
-
"sad": "Here's a Youtube playlist for when you're feeling sad: https://www.youtube.com/playlist?list=PLPE5bssIbSTm3odLzXrlfCXnmpll8pqBu,
|
103 |
-
"hype": "Get hyped with this energetic Youtube playlist this upbeat Youtube playlist for when you're feeling happy: https://www.youtube.com/playlist?list=PLPE5bssIbSTnsN_-gd3-2sgHxm7i4CSSS,
|
104 |
"mad":"Enjoy this energtic playlist when you are pressed:https://www.youtube.com/playlist?list=PLPE5bssIbSTnwU9lG7jdnuqzoKUKFbUGb",
|
105 |
"chill": "Here is a playlist for a chill vibe: https://www.youtube.com/playlist?list=PLPE5bssIbSTkjkb4FfYcaI3tVtfE3IrAx",
|
106 |
"delulu": "Here is a playlist for when you are yearning for someone or dealing with romance: https://www.youtube.com/playlist?list=PLPE5bssIbSTlfj8IbqgD2SRVh83Hs1TZG",
|
107 |
-
"it_girl": "Here is a playlist for when you are feeling your best and are confident:https://www.youtube.com/playlist?list=PLPE5bssIbSTlPeSO5BbhKiQZ1RXVCz-id"
|
108 |
}
|
109 |
|
110 |
for keyword, link in keyword_links.items():
|
|
|
99 |
Check if the question contains a keyword and return the corresponding Youtube playlist link.
|
100 |
"""
|
101 |
keyword_links = {
|
102 |
+
"sad": "Here's a Youtube playlist for when you're feeling sad: https://www.youtube.com/playlist?list=PLPE5bssIbSTm3odLzXrlfCXnmpll8pqBu",
|
103 |
+
"hype": "Get hyped with this energetic Youtube playlist this upbeat Youtube playlist for when you're feeling happy: https://www.youtube.com/playlist?list=PLPE5bssIbSTnsN_-gd3-2sgHxm7i4CSSS",
|
104 |
"mad":"Enjoy this energtic playlist when you are pressed:https://www.youtube.com/playlist?list=PLPE5bssIbSTnwU9lG7jdnuqzoKUKFbUGb",
|
105 |
"chill": "Here is a playlist for a chill vibe: https://www.youtube.com/playlist?list=PLPE5bssIbSTkjkb4FfYcaI3tVtfE3IrAx",
|
106 |
"delulu": "Here is a playlist for when you are yearning for someone or dealing with romance: https://www.youtube.com/playlist?list=PLPE5bssIbSTlfj8IbqgD2SRVh83Hs1TZG",
|
107 |
+
"it_girl": "Here is a playlist for when you are feeling your best and are confident:https://www.youtube.com/playlist?list=PLPE5bssIbSTlPeSO5BbhKiQZ1RXVCz-id"
|
108 |
}
|
109 |
|
110 |
for keyword, link in keyword_links.items():
|