JDhruv14 commited on
Commit
4e52b4a
·
verified ·
1 Parent(s): 1ef8657

Update app.py

Browse files

Again fixed the indentation

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,9 +19,9 @@ def my_custom_tool(arg1:str, arg2:int)-> str:
19
  try:
20
  name = arg1
21
  day = arg2
22
- return f"Happy Birthday to my dear friend {name}, I wish on this day that is {day} is always on your mind :) "
23
  except Exception as e:
24
- return f"Error generating text :{str(e)}"
25
  @tool
26
  def get_current_time_in_timezone(timezone: str) -> str:
27
  """A tool that fetches the current local time in a specified timezone.
 
19
  try:
20
  name = arg1
21
  day = arg2
22
+ return f"Happy Birthday to my dear friend {name}, I wish on this day that is {day} is always on your mind :) "
23
  except Exception as e:
24
+ return f"Error generating text :{str(e)}"
25
  @tool
26
  def get_current_time_in_timezone(timezone: str) -> str:
27
  """A tool that fetches the current local time in a specified timezone.