Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,16 +6,6 @@ import yaml
|
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
from Gradio_UI import GradioUI
|
| 8 |
|
| 9 |
-
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 10 |
-
@tool
|
| 11 |
-
def my_custom_tool(arg1: str, arg2: int) -> str:
|
| 12 |
-
"""A tool that does nothing yet
|
| 13 |
-
Args:
|
| 14 |
-
arg1: the first argument
|
| 15 |
-
arg2: the second argument
|
| 16 |
-
"""
|
| 17 |
-
return "What magic will you build ?"
|
| 18 |
-
|
| 19 |
|
| 20 |
@tool
|
| 21 |
def translate_english_to_french(text: str) -> str:
|
|
|
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
from Gradio_UI import GradioUI
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
@tool
|
| 11 |
def translate_english_to_french(text: str) -> str:
|