Spaces:
Sleeping
Sleeping
addded a space as tool to experiment
Browse files32 unmodified lines33343536373816 unmodified lines5556575859606132 unmodified linesexcept Exception as e:return f"Error fetching time for timezone '{timezone}': {str(e)}"final_answer = FinalAnswerTool()16 unmodified linesagent = CodeAgent(model=model,tools=[final_answer, get_current_time_in_timezone], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,32 unmodified lines333435363738394041424316 unmodified lines6061626364656632 unmodified linesexcept Exception as e:return f"Error fetching time for timezone '{timezone}': {str(e)}"image_generation_tool = Tool.from_space("black-forest-labs/FLUX.1-schnell",name="image_generator",description="Generate an image from a prompt")final_answer = FinalAnswerTool()16 unmodified linesagent = CodeAgent(model=model,tools=[final_answer, get_current_time_in_timezone, image_generation_tool], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+6-1