mgokg commited on
Commit
4ff4553
·
verified ·
1 Parent(s): 186a462

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def generate(input_text):
48
  return "Error: GEMINI_API_KEY is not set.", ""
49
 
50
  client = genai.Client(api_key=GEMINI_API_KEY)
51
- model_id = "gemini-2.0-flash-exp" # Recommended for tool use
52
 
53
  # Create a chat session to handle the tool-use loop
54
  chat = client.chats.create(
 
48
  return "Error: GEMINI_API_KEY is not set.", ""
49
 
50
  client = genai.Client(api_key=GEMINI_API_KEY)
51
+ model_id = "gemini-2.0-flash-latest" # Recommended for tool use
52
 
53
  # Create a chat session to handle the tool-use loop
54
  chat = client.chats.create(