Akshayram1 commited on
Commit
212fb7e
·
verified ·
1 Parent(s): 59db83c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ if 'playlist' not in st.session_state:
27
  def get_song_recommendations(user_input, api_key):
28
  try:
29
  genai.configure(api_key=api_key)
30
- model = genai.GenerativeModel('gemini-pro')
31
  # Enhanced prompt with examples
32
  prompt = f"""
33
  Given the input: '{user_input}', determine the mood or context and suggest 3 popular Indian songs that match this mood or context, considering the specific details provided.
 
27
  def get_song_recommendations(user_input, api_key):
28
  try:
29
  genai.configure(api_key=api_key)
30
+ model = genai.GenerativeModel('gemini-2.0-flash-lite')
31
  # Enhanced prompt with examples
32
  prompt = f"""
33
  Given the input: '{user_input}', determine the mood or context and suggest 3 popular Indian songs that match this mood or context, considering the specific details provided.