Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,16 +21,17 @@ from Gradio_UI import GradioUI
|
|
| 21 |
@tool
|
| 22 |
def my_custom_tool(arg1: str, arg2: int) -> str:
|
| 23 |
"""
|
| 24 |
-
|
| 25 |
|
| 26 |
Args:
|
| 27 |
-
arg1 (str): The word to be chanted with
|
| 28 |
arg2 (int): The number of times to repeat the chant.
|
| 29 |
|
| 30 |
Returns:
|
| 31 |
-
str: A
|
| 32 |
"""
|
| 33 |
-
|
|
|
|
| 34 |
|
| 35 |
@tool
|
| 36 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 21 |
@tool
|
| 22 |
def my_custom_tool(arg1: str, arg2: int) -> str:
|
| 23 |
"""
|
| 24 |
+
Generates an energetic chant with repetition.
|
| 25 |
|
| 26 |
Args:
|
| 27 |
+
arg1 (str): The word to be chanted with enthusiasm.
|
| 28 |
arg2 (int): The number of times to repeat the chant.
|
| 29 |
|
| 30 |
Returns:
|
| 31 |
+
str: A fun, repeated chant with emojis.
|
| 32 |
"""
|
| 33 |
+
chant = " ".join([arg1.upper() + "!" for _ in range(arg2)])
|
| 34 |
+
return f"🔥🔥🔥🔥🔥 {chant} 🔥🔥🔥🔥🔥"
|
| 35 |
|
| 36 |
@tool
|
| 37 |
def get_current_time_in_timezone(timezone: str) -> str:
|