benemo commited on
Commit
4f7846f
·
verified ·
1 Parent(s): 13fff81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -34,14 +34,12 @@ 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 get_image_tool(imagename: str) -> str:
38
- """A tool that fetche an image from the Internet Database.
39
  Args:
40
- imagename: An image file that the user wants to obtain (e.g., picture of a cat).
41
  """
42
- # Create image object
43
- newImage = image_generation_tool(str)
44
- return f"The requested image is {newImage}"
45
 
46
  final_answer = FinalAnswerTool()
47
 
 
34
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
35
 
36
  @tool
37
+ def first_fun(pplname: str) -> str:
38
+ """A tool that read a name and provide a greeting.
39
  Args:
40
+ pplname: the name of a person that needs greeting (e.g. Sandy).
41
  """
42
+ return "pplname"
 
 
43
 
44
  final_answer = FinalAnswerTool()
45