petkar commited on
Commit
8bb6bd6
·
verified ·
1 Parent(s): 7ea1b9a

Update app.py

Browse files

trust remote tools

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ from Gradio_UI import GradioUI
19
  # return "What magic will you build ?"
20
 
21
  # Load the DuckDuckGo search tool
22
- ddg = load_tool("duckduckgo")
23
 
24
  @tool
25
  def my_custom_tool(city1: str, city2: str) -> str:
 
19
  # return "What magic will you build ?"
20
 
21
  # Load the DuckDuckGo search tool
22
+ ddg = load_tool("duckduckgo",trust_remote_code=True)
23
 
24
  @tool
25
  def my_custom_tool(city1: str, city2: str) -> str: