Update app.py
Browse files
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-
|
| 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.
|