Update app.py
#172
by
Sup1102 - opened
app.py
CHANGED
|
@@ -9,14 +9,16 @@ from Gradio_UI import GradioUI
|
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
-
def
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
+
def multiply_numbers(a: int, b: int) -> int:
|
| 13 |
+
"""Multiplies two numbers and returns the result.
|
| 14 |
+
Args:
|
| 15 |
+
a: The first number.
|
| 16 |
+
b: The second number.
|
| 17 |
+
Returns:
|
| 18 |
+
The product of the two numbers.
|
| 19 |
+
"""
|
| 20 |
+
return a * b
|
| 21 |
+
|
| 22 |
|
| 23 |
@tool
|
| 24 |
def get_current_time_in_timezone(timezone: str) -> str:
|