arnavpgarg commited on
Commit
9855a3e
·
verified ·
1 Parent(s): 88d3733

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -8,6 +8,9 @@ from tools.final_answer import FinalAnswerTool
8
  from Gradio_UI import GradioUI
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
 
 
 
11
  @tool
12
  def get_tourist_place_info(place: str, duration_days: int)-> str :
13
  """A tool that provides comprehensive tourist information about a particular tourist place or places,
@@ -41,6 +44,8 @@ def get_tourist_place_info(place: str, duration_days: int)-> str :
41
 
42
  return message.context[0].text
43
 
 
 
44
  @tool
45
  def travel_plan_creator(place: str, duration_days: int, budget_level: str) -> str:
46
  """A tool that creates a detailed day-by-day travel itinerary for a tourist destination.
@@ -93,6 +98,8 @@ def travel_plan_creator(place: str, duration_days: int, budget_level: str) -> st
93
 
94
  return message.content[0].text
95
 
 
 
96
  @tool
97
  def get_current_time_in_timezone(timezone: str) -> str:
98
  """A tool that fetches the current local time in a specified timezone.
 
8
  from Gradio_UI import GradioUI
9
 
10
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
11
+
12
+ #==============================================================================================================================#
13
+
14
  @tool
15
  def get_tourist_place_info(place: str, duration_days: int)-> str :
16
  """A tool that provides comprehensive tourist information about a particular tourist place or places,
 
44
 
45
  return message.context[0].text
46
 
47
+ #================================================================================================================================#
48
+
49
  @tool
50
  def travel_plan_creator(place: str, duration_days: int, budget_level: str) -> str:
51
  """A tool that creates a detailed day-by-day travel itinerary for a tourist destination.
 
98
 
99
  return message.content[0].text
100
 
101
+ #===================================================================================================================================#
102
+
103
  @tool
104
  def get_current_time_in_timezone(timezone: str) -> str:
105
  """A tool that fetches the current local time in a specified timezone.