Spaces:
Sleeping
Sleeping
Update song-insight-app.py
Browse files- song-insight-app.py +1 -0
song-insight-app.py
CHANGED
@@ -8,6 +8,7 @@ from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
|
8 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
9 |
from google.generativeai.types.safety_types import HarmBlockThreshold, HarmCategory
|
10 |
import os
|
|
|
11 |
|
12 |
|
13 |
def song_insight(song, artist):
|
|
|
8 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
9 |
from google.generativeai.types.safety_types import HarmBlockThreshold, HarmCategory
|
10 |
import os
|
11 |
+
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
|
12 |
|
13 |
|
14 |
def song_insight(song, artist):
|