Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -187,6 +187,7 @@ if __name__ == "__main__":
|
|
| 187 |
sys.exit(0)
|
| 188 |
|
| 189 |
|
|
|
|
| 190 |
final_answer = FinalAnswerTool()
|
| 191 |
|
| 192 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
|
@@ -208,7 +209,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 208 |
|
| 209 |
agent = CodeAgent(
|
| 210 |
model=model,
|
| 211 |
-
tools=[DuckDuckGoSearchTool(),final_answer], ## add your tools here (don't remove final answer)
|
| 212 |
max_steps=6,
|
| 213 |
verbosity_level=1,
|
| 214 |
grammar=None,
|
|
|
|
| 187 |
sys.exit(0)
|
| 188 |
|
| 189 |
|
| 190 |
+
|
| 191 |
final_answer = FinalAnswerTool()
|
| 192 |
|
| 193 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
|
|
|
| 209 |
|
| 210 |
agent = CodeAgent(
|
| 211 |
model=model,
|
| 212 |
+
tools=[DuckDuckGoSearchTool(),run_blast(),final_answer], ## add your tools here (don't remove final answer)
|
| 213 |
max_steps=6,
|
| 214 |
verbosity_level=1,
|
| 215 |
grammar=None,
|