Spaces:
Running
Running
Update genius.py
Browse files
genius.py
CHANGED
@@ -14,7 +14,7 @@ def get_song_info_from_lyrics(lyrics):
|
|
14 |
"""
|
15 |
base_url = "https://api.genius.com/search"
|
16 |
headers = {
|
17 |
-
"Authorization": f"Bearer {os.environ[
|
18 |
}
|
19 |
|
20 |
params = {
|
|
|
14 |
"""
|
15 |
base_url = "https://api.genius.com/search"
|
16 |
headers = {
|
17 |
+
"Authorization": f"Bearer {os.environ['GENIUS_API_TOKEN']}"
|
18 |
}
|
19 |
|
20 |
params = {
|