Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
|
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:
|