dxvina-08 commited on
Commit
f53206d
·
verified ·
1 Parent(s): 340f28b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -100,7 +100,7 @@ def get_youtube_playlist(question):
100
  Check if the question contains a keyword and return the corresponding Youtube playlist link.
101
  """
102
  keyword_links = {
103
- "sad": "Here's a Youtube playlist for when you're feeling sad: https://www.youtube.com/playlist?list=PLPE5bssIbSTm3odLzXrlfCXnmpll8pqBu",
104
  "happy": "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",
105
  "mad":"Enjoy this energtic playlist when you are pressed:https://www.youtube.com/playlist?list=PLPE5bssIbSTnwU9lG7jdnuqzoKUKFbUGb",
106
  "chill": "Here is a playlist for a chill vibe: https://www.youtube.com/playlist?list=PLPE5bssIbSTkjkb4FfYcaI3tVtfE3IrAx",
@@ -121,7 +121,7 @@ def query_model(question):
121
  """
122
  youtube_playlist = get_youtube_playlist(question)
123
  if youtube_playlist:
124
- return f"Here is a link to the youtube playlist for more recs! Just copy this link: {youtube_playlist}"
125
 
126
 
127
 
 
100
  Check if the question contains a keyword and return the corresponding Youtube playlist link.
101
  """
102
  keyword_links = {
103
+ "sad": "Sorry that you feel this way, I hope this playlist will comfort you: https://www.youtube.com/playlist?list=PLPE5bssIbSTm3odLzXrlfCXnmpll8pqBu",
104
  "happy": "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",
105
  "mad":"Enjoy this energtic playlist when you are pressed:https://www.youtube.com/playlist?list=PLPE5bssIbSTnwU9lG7jdnuqzoKUKFbUGb",
106
  "chill": "Here is a playlist for a chill vibe: https://www.youtube.com/playlist?list=PLPE5bssIbSTkjkb4FfYcaI3tVtfE3IrAx",
 
121
  """
122
  youtube_playlist = get_youtube_playlist(question)
123
  if youtube_playlist:
124
+ return f"Here is a link to a youtube song playlist based on how you are feeling! Just copy this link: {youtube_playlist}"
125
 
126
 
127