mariangeliki commited on
Commit
c883e17
·
verified ·
1 Parent(s): 5ff1907

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -26,6 +26,8 @@ def get_stock_price(symbol: str) -> str:
26
  stock =yf.Ticker(symbol)
27
  data = stock.history(period="1d")
28
  return(get_stock_price)
 
 
29
 
30
  @tool
31
  def get_current_time_in_timezone(timezone: str) -> str:
 
26
  stock =yf.Ticker(symbol)
27
  data = stock.history(period="1d")
28
  return(get_stock_price)
29
+ catch Exception as e:
30
+ print("error")
31
 
32
  @tool
33
  def get_current_time_in_timezone(timezone: str) -> str: