Tulika2000 commited on
Commit
47a9f10
·
verified ·
1 Parent(s): e768f37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def search_youtube_videos(query, max_results=2):
56
  )
57
  response = request.execute()
58
 
59
- video_html = ""
60
  for item in response.get("items", []):
61
  video_id = item["id"].get("videoId")
62
  video_title = html.escape(item["snippet"].get("title", "Untitled"))
 
56
  )
57
  response = request.execute()
58
 
59
+ video_html = "<h3>🎥 Recommended Videos:</h3><ul>"
60
  for item in response.get("items", []):
61
  video_id = item["id"].get("videoId")
62
  video_title = html.escape(item["snippet"].get("title", "Untitled"))