Spaces:
Runtime error
Runtime error
Commit
·
e8d518e
1
Parent(s):
6e5318d
correct error in python_tool and duckduckgo_tool
Browse files
app.py
CHANGED
@@ -46,13 +46,13 @@ wikipedia_tool = Tool(
|
|
46 |
|
47 |
duckduckgo_tool = Tool(
|
48 |
name = "Duckduckgo Internet Search",
|
49 |
-
func =
|
50 |
description = "Useful to search information in internet when it is not available in other tools"
|
51 |
)
|
52 |
|
53 |
python_tool = Tool(
|
54 |
name = "Python REPL",
|
55 |
-
func =
|
56 |
description = "Useful when you need python to answer questions. You should input python code."
|
57 |
)
|
58 |
|
|
|
46 |
|
47 |
duckduckgo_tool = Tool(
|
48 |
name = "Duckduckgo Internet Search",
|
49 |
+
func = Netsearch.run,
|
50 |
description = "Useful to search information in internet when it is not available in other tools"
|
51 |
)
|
52 |
|
53 |
python_tool = Tool(
|
54 |
name = "Python REPL",
|
55 |
+
func = Python_REPL.run,
|
56 |
description = "Useful when you need python to answer questions. You should input python code."
|
57 |
)
|
58 |
|