Spaces:
Sleeping
Sleeping
Update song-insight-app.py
Browse files- song-insight-app.py +1 -1
song-insight-app.py
CHANGED
@@ -28,7 +28,7 @@ def song_insight(song, artist):
|
|
28 |
HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT: HarmBlockThreshold.BLOCK_NONE,
|
29 |
}
|
30 |
llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=GOOGLE_API_KEY, temperature=0,
|
31 |
-
safety_settings=safety_setting
|
32 |
|
33 |
# get the song meaning
|
34 |
template_song_meaning = """
|
|
|
28 |
HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT: HarmBlockThreshold.BLOCK_NONE,
|
29 |
}
|
30 |
llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=GOOGLE_API_KEY, temperature=0,
|
31 |
+
safety_settings=safety_setting)
|
32 |
|
33 |
# get the song meaning
|
34 |
template_song_meaning = """
|