Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,6 +55,7 @@ def generate_dynamic_response(user_input):
|
|
55 |
|
56 |
return empathetic_response, suggested_activity, video_results
|
57 |
|
|
|
58 |
# Function to search for YouTube videos
|
59 |
def search_youtube_videos(query):
|
60 |
videos_search = VideosSearch(query, limit=3)
|
@@ -69,6 +70,7 @@ def search_youtube_videos(query):
|
|
69 |
|
70 |
return video_links
|
71 |
|
|
|
72 |
# Streamlit UI
|
73 |
st.title("Grief and Loss Support Bot πΏ")
|
74 |
st.markdown("Your compassionate companion in tough times π")
|
|
|
55 |
|
56 |
return empathetic_response, suggested_activity, video_results
|
57 |
|
58 |
+
|
59 |
# Function to search for YouTube videos
|
60 |
def search_youtube_videos(query):
|
61 |
videos_search = VideosSearch(query, limit=3)
|
|
|
70 |
|
71 |
return video_links
|
72 |
|
73 |
+
|
74 |
# Streamlit UI
|
75 |
st.title("Grief and Loss Support Bot πΏ")
|
76 |
st.markdown("Your compassionate companion in tough times π")
|