flamingo44333 commited on
Commit
360bb3a
·
verified ·
1 Parent(s): 988fce5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,10 +11,10 @@ from Gradio_UI import GradioUI
11
  @tool
12
  def my_custom_tool(timezone1:str, timezome2:int)-> str: #it's import to specify the return type
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
- """A tool that calculates time difference between two timezones
15
  Args:
16
- timezone1: A string representing a valid timezone (e.g., 'America/New_York').
17
- timezone2: A string representing a valid timezone (e.g., 'America/New_York').
18
  """
19
  try:
20
  time1=pytz.timezone(timezone1)
 
11
  @tool
12
  def my_custom_tool(timezone1:str, timezome2:int)-> str: #it's import to specify the return type
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
+ """A tool that calculates time difference between two timezones, timezone 1 and timezone 2
15
  Args:
16
+ timezone1: A string representing a valid timezone 1 (e.g., 'America/New_York').
17
+ timezone2: A string representing a valid timezone 2 (e.g., 'America/New_York').
18
  """
19
  try:
20
  time1=pytz.timezone(timezone1)