BQGamer commited on
Commit
bbfc442
·
verified ·
1 Parent(s): b62dbc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def search_youtube_music(mood_value, tempo_value):
79
  params = {
80
  "part": "snippet",
81
  "q": search_query,
82
- "key": "YOUR_API_KEY", # Replace with a valid YouTube API key
83
  "type": "video",
84
  "videoCategoryId": "10", # Music category
85
  "maxResults": 1 # Only get 1 result
 
79
  params = {
80
  "part": "snippet",
81
  "q": search_query,
82
+ "key": "AIzaSyCI1PGvgm5fEXxSVLjEteQwxi90qe2nUtQ", # Replace with a valid YouTube API key
83
  "type": "video",
84
  "videoCategoryId": "10", # Music category
85
  "maxResults": 1 # Only get 1 result