Spaces:
Sleeping
Sleeping
fix gangster tool docstring
Browse files
app.py
CHANGED
|
@@ -11,7 +11,9 @@ from Gradio_UI import GradioUI
|
|
| 11 |
@tool
|
| 12 |
def answer_like_gangster(sentence:str)-> 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 modifiy the intended answer to make it sound like a gangster
|
|
|
|
|
|
|
| 15 |
"""
|
| 16 |
return sentence + ". You feel me, bro?"
|
| 17 |
|
|
|
|
| 11 |
@tool
|
| 12 |
def answer_like_gangster(sentence:str)-> 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 modifiy the intended answer to make it sound like a gangster.
|
| 15 |
+
Args:
|
| 16 |
+
sentence: A string representing a normal answer before it is gangsterized.
|
| 17 |
"""
|
| 18 |
return sentence + ". You feel me, bro?"
|
| 19 |
|