Spaces:
Sleeping
Sleeping
Update app.py
Browse files50 unmodified lines51525354555616 unmodified lines7374757677787950 unmodified lines"""return a / bfinal_answer = FinalAnswerTool()# 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:16 unmodified linesagent = CodeAgent(model=model,tools=[final_answer, image_generation_tool, calculator1, calculator2, get_current_time_in_timezone], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,50 unmodified lines5152535455565758596061626364656616 unmodified lines8384858687888950 unmodified lines"""return a / b@tooldef calculator3(a: int, b: int, c: int) -> int:"""multiply three integers.Args:a: an integerb: another integerc: another integer"""return a * b * cfinal_answer = FinalAnswerTool()# 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:16 unmodified linesagent = CodeAgent(model=model,tools=[final_answer, image_generation_tool, calculator1, calculator2, calculator3, get_current_time_in_timezone], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+11-1