kschuette commited on
Commit
75eb514
·
verified ·
1 Parent(s): a0bdb4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -22,7 +22,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
22
  def name_facts(name:str)-> str:
23
  """A tool that provides fun facts and history about a given name
24
  Args:
25
- arg1: the given name to analyze
26
  """
27
  try:
28
  search_tool = DuckDuckGoSearchTool()
@@ -34,9 +34,9 @@ def name_facts(name:str)-> str:
34
  def healthy_check(age:int, height:int, weight:int)-> str:
35
  """A tool that checks if the given age, height, and weight statistics are considered healthy or not
36
  Args:
37
- arg1: the age of the person in years
38
- arg2: the height of the person in cm
39
- arg3: the weight of the person in lbs
40
  """
41
  try:
42
  search_tool = DuckDuckGoSearchTool()
@@ -48,9 +48,9 @@ def healthy_check(age:int, height:int, weight:int)-> str:
48
  def conversation_image(conversation:str, user:str, user_description:str)-> str:
49
  """A tool that does nothing yet
50
  Args:
51
- arg1: the first argument
52
- arg2: the second argument
53
- arg3: the third
54
  """
55
  return "What magic will you build ?"
56
 
 
22
  def name_facts(name:str)-> str:
23
  """A tool that provides fun facts and history about a given name
24
  Args:
25
+ name: the given name to analyze
26
  """
27
  try:
28
  search_tool = DuckDuckGoSearchTool()
 
34
  def healthy_check(age:int, height:int, weight:int)-> str:
35
  """A tool that checks if the given age, height, and weight statistics are considered healthy or not
36
  Args:
37
+ age: the age of the person in years
38
+ height: the height of the person in cm
39
+ weight: the weight of the person in lbs
40
  """
41
  try:
42
  search_tool = DuckDuckGoSearchTool()
 
48
  def conversation_image(conversation:str, user:str, user_description:str)-> str:
49
  """A tool that does nothing yet
50
  Args:
51
+ conversation: the first argument
52
+ user: the second argument
53
+ user_description: the third
54
  """
55
  return "What magic will you build ?"
56