Spaces:
Sleeping
Sleeping
matt pagett commited on
Update app.py
Browse files17 unmodified lines18192021222331 unmodified lines5556575859606117 unmodified lines"""return "What magic will you build ?"@tooldef get_current_time_in_timezone(timezone: str) -> str:"""A tool that fetches the current local time in a specified timezone.31 unmodified linesagent = CodeAgent(model=model,tools=[final_answer], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,17 unmodified lines1819202122232425262728293031323331 unmodified lines6566676869707117 unmodified lines"""return "What magic will you build ?"@tooldef calculator(a: int, b: int) -> int:"""Multiply two integers."""return a * bprint(calculator.to_string())@tooldef get_current_time_in_timezone(timezone: str) -> str:"""A tool that fetches the current local time in a specified timezone.31 unmodified linesagent = CodeAgent(model=model,tools=[final_answer, image_generation_tool, get_current_time_in_timezone, calculator], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+11-1