Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ def generate(input_text):
|
|
| 47 |
return "Error: GEMINI_API_KEY is not set.", ""
|
| 48 |
|
| 49 |
client = genai.Client(api_key=GEMINI_API_KEY)
|
| 50 |
-
model_id = "gemini-
|
| 51 |
|
| 52 |
# We use a chat session to handle the multi-turn tool loop
|
| 53 |
chat = client.chats.create(
|
|
|
|
| 47 |
return "Error: GEMINI_API_KEY is not set.", ""
|
| 48 |
|
| 49 |
client = genai.Client(api_key=GEMINI_API_KEY)
|
| 50 |
+
model_id = "gemini-flash-latest" # Or gemini-flash-latest
|
| 51 |
|
| 52 |
# We use a chat session to handle the multi-turn tool loop
|
| 53 |
chat = client.chats.create(
|