Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def generate_response(user_query, relevant_segment):
|
|
83 |
)
|
84 |
def get_sad_link_playlist(question):
|
85 |
"""
|
86 |
-
Check if the question contains a keyword and return the corresponding
|
87 |
"""
|
88 |
keyword_links = {
|
89 |
"sad": "Here is a link to the sad playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTm3odLzXrlfCXnmpll8pqBu&si=49rIb3IwueIzKGif",
|
@@ -91,7 +91,7 @@ def get_sad_link_playlist(question):
|
|
91 |
|
92 |
def get_hype_link_playlist(question):
|
93 |
"""
|
94 |
-
Check if the question contains a keyword and return the corresponding
|
95 |
"""
|
96 |
keyword_links = {
|
97 |
"hype": "Here is a link to the hype playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTnsN_-gd3-2sgHxm7i4CSSS&si=3pPHtcvyVCebTNL8",
|
@@ -99,7 +99,7 @@ def get_hype_link_playlist(question):
|
|
99 |
|
100 |
def get_delulu_link_playlist(question):
|
101 |
"""
|
102 |
-
Check if the question contains a keyword and return the corresponding
|
103 |
"""
|
104 |
keyword_links = {
|
105 |
"delulu": "Here is a link to the delulu playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTlfj8IbqgD2SRVh83Hs1TZG&si=9cZOZWqLbdFD58xW",
|
@@ -107,7 +107,7 @@ def get_delulu_link_playlist(question):
|
|
107 |
|
108 |
def get_pressed_link_playlist(question):
|
109 |
"""
|
110 |
-
Check if the question contains a keyword and return the corresponding
|
111 |
"""
|
112 |
keyword_links = {
|
113 |
"pressed": "Here is a link to the pressed playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTnwU9lG7jdnuqzoKUKFbUGb&si=XKJnHt3yj1Us17OO",
|
@@ -115,7 +115,7 @@ def get_pressed_link_playlist(question):
|
|
115 |
|
116 |
def get_chill_link_playlist(question):
|
117 |
"""
|
118 |
-
Check if the question contains a keyword and return the corresponding
|
119 |
"""
|
120 |
keyword_links = {
|
121 |
"chill": "Here is a link to the chill playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTkjkb4FfYcaI3tVtfE3IrAx&si=lzxZdnzB0CrnWbfS",
|
|
|
83 |
)
|
84 |
def get_sad_link_playlist(question):
|
85 |
"""
|
86 |
+
Check if the question contains a keyword and return the corresponding Youtube link.
|
87 |
"""
|
88 |
keyword_links = {
|
89 |
"sad": "Here is a link to the sad playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTm3odLzXrlfCXnmpll8pqBu&si=49rIb3IwueIzKGif",
|
|
|
91 |
|
92 |
def get_hype_link_playlist(question):
|
93 |
"""
|
94 |
+
Check if the question contains a keyword and return the corresponding Youtube link.
|
95 |
"""
|
96 |
keyword_links = {
|
97 |
"hype": "Here is a link to the hype playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTnsN_-gd3-2sgHxm7i4CSSS&si=3pPHtcvyVCebTNL8",
|
|
|
99 |
|
100 |
def get_delulu_link_playlist(question):
|
101 |
"""
|
102 |
+
Check if the question contains a keyword and return the corresponding Youtube link.
|
103 |
"""
|
104 |
keyword_links = {
|
105 |
"delulu": "Here is a link to the delulu playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTlfj8IbqgD2SRVh83Hs1TZG&si=9cZOZWqLbdFD58xW",
|
|
|
107 |
|
108 |
def get_pressed_link_playlist(question):
|
109 |
"""
|
110 |
+
Check if the question contains a keyword and return the corresponding Youtube link.
|
111 |
"""
|
112 |
keyword_links = {
|
113 |
"pressed": "Here is a link to the pressed playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTnwU9lG7jdnuqzoKUKFbUGb&si=XKJnHt3yj1Us17OO",
|
|
|
115 |
|
116 |
def get_chill_link_playlist(question):
|
117 |
"""
|
118 |
+
Check if the question contains a keyword and return the corresponding Youtube link.
|
119 |
"""
|
120 |
keyword_links = {
|
121 |
"chill": "Here is a link to the chill playlist based on your response. Copy the link that will direct you to the playlist: https://youtube.com/playlist?list=PLPE5bssIbSTkjkb4FfYcaI3tVtfE3IrAx&si=lzxZdnzB0CrnWbfS",
|