Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,15 +7,6 @@ from tools.final_answer import FinalAnswerTool
|
|
7 |
|
8 |
from Gradio_UI import GradioUI
|
9 |
|
10 |
-
background_css = """
|
11 |
-
body {
|
12 |
-
background-image: url('1.png'); /* Local image path */
|
13 |
-
background-size: cover;
|
14 |
-
background-position: center;
|
15 |
-
}
|
16 |
-
"""
|
17 |
-
|
18 |
-
|
19 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
20 |
@tool
|
21 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
@@ -86,4 +77,4 @@ agent = CodeAgent(
|
|
86 |
)
|
87 |
|
88 |
|
89 |
-
GradioUI(agent
|
|
|
7 |
|
8 |
from Gradio_UI import GradioUI
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
11 |
@tool
|
12 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
|
|
77 |
)
|
78 |
|
79 |
|
80 |
+
GradioUI(agent).launch()
|