2weaks commited on
Commit
366bd75
·
verified ·
1 Parent(s): 364944a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,9 +20,9 @@ from Gradio_UI import GradioUI
20
 
21
  @tool
22
  def get_current_time_in_timezone(timezone: str) -> str:
23
- """Инструмент для получения текущего местного времени в указанном часовом поясе.
24
- Аргменты:
25
- timezone: Строка, представляющая действительный часовой пояс (например, 'America/New_York').
26
  """
27
  try:
28
  # Создание объекта timezone
 
20
 
21
  @tool
22
  def get_current_time_in_timezone(timezone: str) -> str:
23
+ """A tool that fetches the current local time in a specified timezone.
24
+ Args:
25
+ timezone: A string representing a valid timezone (e.g., 'America/New_York').
26
  """
27
  try:
28
  # Создание объекта timezone