Spaces:
Runtime error
Runtime error
Commit
·
87c1054
1
Parent(s):
7e35fa9
update t2s in tool
Browse files
app.py
CHANGED
|
@@ -575,6 +575,12 @@ Text2Sound_tool2 = Tool(
|
|
| 575 |
description = "Useful when you need to convert text into sound file."
|
| 576 |
)
|
| 577 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 578 |
|
| 579 |
Wikipedia = WikipediaAPIWrapper()
|
| 580 |
Netsearch = DuckDuckGoSearchRun()
|
|
@@ -663,7 +669,7 @@ tools = [DB_Search(), duckduckgo_tool, python_tool, math_tool, Text2Sound_tool]
|
|
| 663 |
|
| 664 |
tools2 = [DB_Search2(), duckduckgo_tool2, wikipedia_tool2, python_tool2, math_tool, Text2Sound_tool2]
|
| 665 |
|
| 666 |
-
tools_remote = [DB_Search2(), duckduckgo_tool2, wikipedia_tool2, python_tool2, math_tool_2,
|
| 667 |
|
| 668 |
# tools = load_tools(["Vector Database Search","Wikipedia Search","Python REPL","llm-math"], llm=llm)
|
| 669 |
|
|
|
|
| 575 |
description = "Useful when you need to convert text into sound file."
|
| 576 |
)
|
| 577 |
|
| 578 |
+
Text2Sound_tool_loc = Tool(
|
| 579 |
+
name = "Text To Sound API 2",
|
| 580 |
+
# func = Text2Sound,
|
| 581 |
+
func = text_to_speech_loc,
|
| 582 |
+
description = "Useful when you need to convert text into sound file."
|
| 583 |
+
)
|
| 584 |
|
| 585 |
Wikipedia = WikipediaAPIWrapper()
|
| 586 |
Netsearch = DuckDuckGoSearchRun()
|
|
|
|
| 669 |
|
| 670 |
tools2 = [DB_Search2(), duckduckgo_tool2, wikipedia_tool2, python_tool2, math_tool, Text2Sound_tool2]
|
| 671 |
|
| 672 |
+
tools_remote = [DB_Search2(), duckduckgo_tool2, wikipedia_tool2, python_tool2, math_tool_2, Text2Sound_tool_loc]
|
| 673 |
|
| 674 |
# tools = load_tools(["Vector Database Search","Wikipedia Search","Python REPL","llm-math"], llm=llm)
|
| 675 |
|