DawnR0270 commited on
Commit
5905c6d
·
verified ·
1 Parent(s): 6e1f0c1

Re-ran historical stock price due to interruption

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -19,7 +19,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
19
  arg1: the first argument
20
  arg2: the second argument
21
  """
22
- return "What magic will you build ?"
23
 
24
  @tool
25
  def get_stock_price_tool(stock_symbol:str)-> str:
@@ -137,7 +137,6 @@ def get_current_time_in_timezone(timezone: str) -> str:
137
  # Catching any other execution error and returning a message instead of crashing
138
  return f"An unexpected error occurred while getting the time: {e}"
139
 
140
-
141
  @tool
142
  def get_current_time_in_timezone_non_IANA(timezone: str) -> str:
143
  """A tool that fetches the current local time in a specified timezone.
 
19
  arg1: the first argument
20
  arg2: the second argument
21
  """
22
+ return "What magic will you build?"
23
 
24
  @tool
25
  def get_stock_price_tool(stock_symbol:str)-> str:
 
137
  # Catching any other execution error and returning a message instead of crashing
138
  return f"An unexpected error occurred while getting the time: {e}"
139
 
 
140
  @tool
141
  def get_current_time_in_timezone_non_IANA(timezone: str) -> str:
142
  """A tool that fetches the current local time in a specified timezone.