xenchai commited on
Commit
76e4e62
·
verified ·
1 Parent(s): c502555

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from Gradio_UI import GradioUI
9
  def get_current_time_in_timezone(timezone: str) -> str:
10
  """A tool that fetches the current local time in a specified timezone.
11
  Args:
12
- timezone:takes the specified timezone"""
13
  try:
14
  tz = pytz.timezone(timezone)
15
  local_time = datetime.datetime.now(tz).strftime("%Y-%m-%d %H:%M:%S")
 
9
  def get_current_time_in_timezone(timezone: str) -> str:
10
  """A tool that fetches the current local time in a specified timezone.
11
  Args:
12
+ timezone:takes the specified timezone text"""
13
  try:
14
  tz = pytz.timezone(timezone)
15
  local_time = datetime.datetime.now(tz).strftime("%Y-%m-%d %H:%M:%S")