Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -16,9 +16,9 @@ HUGGINGFACEHUB_API_TOKEN = getenv("HUGGINGFACEHUB_API_TOKEN")
|
|
| 16 |
# huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
|
| 17 |
#)
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
chat =
|
| 22 |
tools = [add,
|
| 23 |
substract,
|
| 24 |
multiply,
|
|
|
|
| 16 |
# huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
|
| 17 |
#)
|
| 18 |
|
| 19 |
+
#chat = ChatHuggingFace(llm=llm, verbose=True)
|
| 20 |
|
| 21 |
+
chat = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
|
| 22 |
tools = [add,
|
| 23 |
substract,
|
| 24 |
multiply,
|