Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ if user_input:
|
|
79 |
|
80 |
# Search YouTube for videos related to the selected activity
|
81 |
search = Search(suggested_activity[0])
|
82 |
-
search_results = search.results[:
|
83 |
for video in search_results:
|
84 |
st.write(f"[{video.title}]({video.watch_url})")
|
85 |
|
|
|
79 |
|
80 |
# Search YouTube for videos related to the selected activity
|
81 |
search = Search(suggested_activity[0])
|
82 |
+
search_results = search.results[:3] # limit results to 3 videos
|
83 |
for video in search_results:
|
84 |
st.write(f"[{video.title}]({video.watch_url})")
|
85 |
|