kracozebr commited on
Commit
d3f072b
·
verified ·
1 Parent(s): a111b35
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -33,11 +33,9 @@ def get_search_results(query:str, num_results:int)-> str: #it's import to specif
33
  return first_part_of_answer+last_part_of_answer
34
 
35
  except Exception as e:
36
- print(f"An error occurred: {e}")
37
 
38
 
39
- print(results)
40
-
41
  @tool
42
  def get_current_time_in_timezone(timezone: str) -> str:
43
  """A tool that fetches the current local time in a specified timezone.
 
33
  return first_part_of_answer+last_part_of_answer
34
 
35
  except Exception as e:
36
+ return(f"An error occurred: {e}")
37
 
38
 
 
 
39
  @tool
40
  def get_current_time_in_timezone(timezone: str) -> str:
41
  """A tool that fetches the current local time in a specified timezone.