yangswei commited on
Commit
a898915
1 Parent(s): 8a77843

Update song-insight-app.py

Browse files
Files changed (1) hide show
  1. 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):