grv805 commited on
Commit
c4fc8d1
·
verified ·
1 Parent(s): 9628cf5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -34,14 +34,14 @@ def get_current_time_in_timezone(timezone: str) -> str:
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
  @tool
37
- def calculator_tool(a:int,b:int)->int:
38
- """ A tool that multiplies two integers.
39
- Args:
40
- a: A valid integer,
41
- b: A valid integer
42
- """
43
- c = a * b
44
- return f"Output is : '{c}'"
45
 
46
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
47
  final_answer = FinalAnswerTool()
 
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
  @tool
37
+ def calculator_tool(a:int,b:int)->int:
38
+ """ A tool that multiplies two integers.
39
+ Args:
40
+ a: A valid integer,
41
+ b: A valid integer
42
+ """
43
+ c = a * b
44
+ return f"Output is : '{c}'"
45
 
46
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
47
  final_answer = FinalAnswerTool()