vadhri commited on
Commit
45f7d6c
·
verified ·
1 Parent(s): 19cc399

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -36,7 +36,9 @@ def movie_info(arg1:movie_name)-> str: #it's import to specify the return type
36
  output += "\n"
37
  else:
38
  output = "No information on that movie found!"
39
- return output
 
 
40
 
41
  @tool
42
  def get_current_time_in_timezone(timezone: str) -> str:
 
36
  output += "\n"
37
  else:
38
  output = "No information on that movie found!"
39
+ return output
40
+ except Exception as e:
41
+ return f"Error movies json and formatting."
42
 
43
  @tool
44
  def get_current_time_in_timezone(timezone: str) -> str: