Update app.py
Browse filesAdded tool for attractions
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:
|