Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,8 +20,17 @@ from Gradio_UI import GradioUI
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def my_custom_tool(arg1: str, arg2: int) -> str:
|
| 23 |
-
"""
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
@tool
|
| 27 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def my_custom_tool(arg1: str, arg2: int) -> str:
|
| 23 |
+
"""
|
| 24 |
+
Creates a ridiculously fun chant with an explosion of enthusiasm.
|
| 25 |
+
|
| 26 |
+
Args:
|
| 27 |
+
arg1 (str): The word to be chanted with excitement.
|
| 28 |
+
arg2 (int): The number of times to repeat the chant.
|
| 29 |
+
|
| 30 |
+
Returns:
|
| 31 |
+
str: A loud and fiery chant string.
|
| 32 |
+
"""
|
| 33 |
+
return "🔥 " + " ".join([arg1.upper() + "!" for _ in range(arg2)]) + " 🔥"
|
| 34 |
|
| 35 |
@tool
|
| 36 |
def get_current_time_in_timezone(timezone: str) -> str:
|