Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,9 @@ rate_limiter = InMemoryRateLimiter(
|
|
| 74 |
)
|
| 75 |
|
| 76 |
chat = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0, rate_limiter=rate_limiter)
|
| 77 |
-
tools = [
|
|
|
|
|
|
|
| 78 |
chat_with_tools = chat.bind_tools(tools)
|
| 79 |
|
| 80 |
# load the system prompt from the file
|
|
|
|
| 74 |
)
|
| 75 |
|
| 76 |
chat = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0, rate_limiter=rate_limiter)
|
| 77 |
+
tools = [
|
| 78 |
+
wiki_loader
|
| 79 |
+
]
|
| 80 |
chat_with_tools = chat.bind_tools(tools)
|
| 81 |
|
| 82 |
# load the system prompt from the file
|