Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
33 |
except Exception as e:
|
34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
35 |
|
|
|
36 |
@tool
|
37 |
def multiply_numbers(a: int, b: int) -> int:
|
38 |
"""
|
@@ -58,6 +59,7 @@ def multiply_numbers(a: int, b: int) -> int:
|
|
58 |
return result
|
59 |
except Exception as e:
|
60 |
raise ValueError(f"An error occurred during multiplication: {e}")
|
|
|
61 |
|
62 |
final_answer = FinalAnswerTool()
|
63 |
|
|
|
33 |
except Exception as e:
|
34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
35 |
|
36 |
+
'''
|
37 |
@tool
|
38 |
def multiply_numbers(a: int, b: int) -> int:
|
39 |
"""
|
|
|
59 |
return result
|
60 |
except Exception as e:
|
61 |
raise ValueError(f"An error occurred during multiplication: {e}")
|
62 |
+
'''
|
63 |
|
64 |
final_answer = FinalAnswerTool()
|
65 |
|