yangswei commited on
Commit
e8a04ec
1 Parent(s): 61e3a1b

Update song-insight-app.py

Browse files
Files changed (1) hide show
  1. 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, top_p=0)
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 = """