Phoenix21 commited on
Commit
bcdbab3
Β·
verified Β·
1 Parent(s): 46a6711

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -172,8 +172,8 @@ agent_executor = None
172
 
173
  if api_key:
174
  try:
175
- model = ChatGoogleGenerativeAI(model="gemini-pro", temperature=0)
176
- print("βœ… Gemini model initialized successfully: gemini-pro")
177
  memory = MemorySaver()
178
  except Exception as e:
179
  print(f"❌ Could not initialize Gemini model: {e}")
 
172
 
173
  if api_key:
174
  try:
175
+ model = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
176
+ print("βœ… Gemini model initialized successfully:gemini-2.0-flash")
177
  memory = MemorySaver()
178
  except Exception as e:
179
  print(f"❌ Could not initialize Gemini model: {e}")