Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -115,10 +115,10 @@ def translate(query: str) -> str:
|
|
115 |
translate_text = StructuredTool.from_function(
|
116 |
func=translate,
|
117 |
description= """
|
118 |
-
Translate from any language to french. Don't use it if the text is already in french
|
119 |
|
120 |
Parameters :
|
121 |
-
- query (string) : the same input as the user input no more no less.
|
122 |
Returns :
|
123 |
- string : isolate just the translated text in french with no other useless words.
|
124 |
""",
|
|
|
115 |
translate_text = StructuredTool.from_function(
|
116 |
func=translate,
|
117 |
description= """
|
118 |
+
Translate from any language to french. Don't use it if the text is already in french. Use it only with the function request_data don't use it with the other tools
|
119 |
|
120 |
Parameters :
|
121 |
+
- query (string) : the same input as the user input no more no less only if it isnt in french already.
|
122 |
Returns :
|
123 |
- string : isolate just the translated text in french with no other useless words.
|
124 |
""",
|