Spaces:
Sleeping
Sleeping
Update gemini.py
Browse files
gemini.py
CHANGED
|
@@ -42,7 +42,7 @@ google_search_tool = Tool(
|
|
| 42 |
)
|
| 43 |
|
| 44 |
chat = client.chats.create(
|
| 45 |
-
model="gemini-2.
|
| 46 |
config=GenerateContentConfig(
|
| 47 |
system_instruction="你是一個中文的AI助手,請用繁體中文回答",
|
| 48 |
tools=[google_search_tool],
|
|
|
|
| 42 |
)
|
| 43 |
|
| 44 |
chat = client.chats.create(
|
| 45 |
+
model="gemini-2.0-flash",
|
| 46 |
config=GenerateContentConfig(
|
| 47 |
system_instruction="你是一個中文的AI助手,請用繁體中文回答",
|
| 48 |
tools=[google_search_tool],
|