Update app.py
Browse files
app.py
CHANGED
|
@@ -11,10 +11,10 @@ from Gradio_UI import GradioUI
|
|
| 11 |
@tool
|
| 12 |
def get_message_repeater(message:str, times:int)-> str: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
-
"""A tool that
|
| 15 |
Args:
|
| 16 |
-
arg1: the
|
| 17 |
-
arg2: the
|
| 18 |
"""
|
| 19 |
return (message + " ") * times
|
| 20 |
|
|
|
|
| 11 |
@tool
|
| 12 |
def get_message_repeater(message:str, times:int)-> str: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
+
"""A tool that prints message mulitple times
|
| 15 |
Args:
|
| 16 |
+
arg1: the message to repeat
|
| 17 |
+
arg2: how many times to repeat the message
|
| 18 |
"""
|
| 19 |
return (message + " ") * times
|
| 20 |
|