Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,14 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
20 |
|
21 |
@tool
|
22 |
def calculate_square_root(number: float) -> float:
|
23 |
-
"""Calculates the square root of a given number.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
return math.sqrt(number)
|
25 |
|
26 |
@tool
|
|
|
20 |
|
21 |
@tool
|
22 |
def calculate_square_root(number: float) -> float:
|
23 |
+
"""Calculates the square root of a given number.
|
24 |
+
|
25 |
+
Args:
|
26 |
+
number: The number to calculate the square root of.
|
27 |
+
|
28 |
+
Returns:
|
29 |
+
The square root of the number.
|
30 |
+
"""
|
31 |
return math.sqrt(number)
|
32 |
|
33 |
@tool
|