Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,7 @@ from Gradio_UI import GradioUI
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def ramanify(message:str)-> str: #it's import to specify the return type
|
13 |
-
|
14 |
-
"""A tool that rickifies the argument
|
15 |
Args:
|
16 |
message: the message you want to ramanify
|
17 |
"""
|
@@ -54,7 +53,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
54 |
|
55 |
agent = CodeAgent(
|
56 |
model=model,
|
57 |
-
tools=[final_answer,ramanify,get_current_time_in_timezone], ## add your tools here (don't remove final answer)
|
58 |
max_steps=6,
|
59 |
verbosity_level=1,
|
60 |
grammar=None,
|
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def ramanify(message:str)-> str: #it's import to specify the return type
|
13 |
+
"""A tool that ramanifies the message
|
|
|
14 |
Args:
|
15 |
message: the message you want to ramanify
|
16 |
"""
|
|
|
53 |
|
54 |
agent = CodeAgent(
|
55 |
model=model,
|
56 |
+
tools=[final_answer,ramanify,get_current_time_in_timezone,image_generation_tool], ## add your tools here (don't remove final answer)
|
57 |
max_steps=6,
|
58 |
verbosity_level=1,
|
59 |
grammar=None,
|