Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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": "
|
| 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
|