Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
35 |
|
36 |
@tool
|
37 |
-
def multiply_numbers(a: int, b: int) ->
|
38 |
"""
|
39 |
Multiplies two integers and returns the result.
|
40 |
|
@@ -66,6 +66,7 @@ def multiply_numbers(a: int, b: int) -> intt:
|
|
66 |
raise ValueError(f"An error occurred during multiplication: {e}")
|
67 |
|
68 |
final_answer = FinalAnswerTool()
|
|
|
69 |
model = HfApiModel(
|
70 |
max_tokens=2096,
|
71 |
temperature=0.5,
|
|
|
34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
35 |
|
36 |
@tool
|
37 |
+
def multiply_numbers(a: int, b: int) -> int:
|
38 |
"""
|
39 |
Multiplies two integers and returns the result.
|
40 |
|
|
|
66 |
raise ValueError(f"An error occurred during multiplication: {e}")
|
67 |
|
68 |
final_answer = FinalAnswerTool()
|
69 |
+
|
70 |
model = HfApiModel(
|
71 |
max_tokens=2096,
|
72 |
temperature=0.5,
|