Spaces:
Runtime error
Runtime error
Commit
·
ebb6bdc
1
Parent(s):
6753f0b
correct run function
Browse files
app.py
CHANGED
@@ -40,19 +40,19 @@ Python_REPL = PythonREPL()
|
|
40 |
|
41 |
wikipedia_tool = Tool(
|
42 |
name = "Wikipedia Search",
|
43 |
-
func = Wikipedia.run
|
44 |
description = "Useful to search a topic, country or person when there is no availble information in vector database"
|
45 |
)
|
46 |
|
47 |
duckduckgo_tool = Tool(
|
48 |
name = "Duckduckgo Internet Search",
|
49 |
-
func = Python_REPL.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 = Netsearch.run
|
56 |
description = "Useful when you need python to answer questions. You should input python code."
|
57 |
)
|
58 |
|
|
|
40 |
|
41 |
wikipedia_tool = Tool(
|
42 |
name = "Wikipedia Search",
|
43 |
+
func = Wikipedia.run,
|
44 |
description = "Useful to search a topic, country or person when there is no availble information in vector database"
|
45 |
)
|
46 |
|
47 |
duckduckgo_tool = Tool(
|
48 |
name = "Duckduckgo Internet Search",
|
49 |
+
func = Python_REPL.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 = Netsearch.run,
|
56 |
description = "Useful when you need python to answer questions. You should input python code."
|
57 |
)
|
58 |
|