vechism commited on
Commit
9b6c6d1
·
verified ·
1 Parent(s): d4781ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -43,6 +43,7 @@ def mutante_unicorn(animal_name:str) -> str: #it's import to specify the return
43
  except Exception as e:
44
  return f"Error creating a mutant unicorn for '{animal_name}': {str(e)}"
45
 
 
46
  def describe_animal(animal_name:str) -> str:
47
  """Look up for the name of the animal inwikipedia using websearch tool, and then provide a 300 characters description about that animal
48
  Args:
 
43
  except Exception as e:
44
  return f"Error creating a mutant unicorn for '{animal_name}': {str(e)}"
45
 
46
+ @tool
47
  def describe_animal(animal_name:str) -> str:
48
  """Look up for the name of the animal inwikipedia using websearch tool, and then provide a 300 characters description about that animal
49
  Args: