abelluque commited on
Commit
6a5270d
·
1 Parent(s): a44827b

fix tool description

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,8 +12,8 @@ from Gradio_UI import GradioUI
12
  def my_custom_tool(location: str, utc_offset: int) -> str:
13
  """ Generates relevant information about a given location's timezone, including possible timezones and major cities.
14
  Args:
15
- location (str): The name of the location to look up.
16
- utc_offset (int): The UTC offset in hours to search for matching timezones.
17
  Returns:
18
  str: A message listing possible timezones and major cities for the given UTC offset.
19
  """
 
12
  def my_custom_tool(location: str, utc_offset: int) -> str:
13
  """ Generates relevant information about a given location's timezone, including possible timezones and major cities.
14
  Args:
15
+ location: The name of the location to look up (e.g., 'America/New_York').
16
+ utc_offset: The UTC offset in hours to search for matching timezones.
17
  Returns:
18
  str: A message listing possible timezones and major cities for the given UTC offset.
19
  """