faiyazansariusa commited on
Commit
6dd9e08
·
verified ·
1 Parent(s): 0222827

Update app.py

Browse files

Added tool for attractions

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ from Gradio_UI import GradioUI
11
  print ("Hello This is sample AI Project by Faiyaz")
12
 
13
  # tool for attractions
14
-
15
  def get_attractions(city: str) -> str:
16
  """Fetches recommended places of attraction in a specified city.
17
  Args:
 
11
  print ("Hello This is sample AI Project by Faiyaz")
12
 
13
  # tool for attractions
14
+ @tool
15
  def get_attractions(city: str) -> str:
16
  """Fetches recommended places of attraction in a specified city.
17
  Args: