aman9608 commited on
Commit
47d8e18
·
verified ·
1 Parent(s): 78181d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,6 +6,7 @@ import yaml
6
  from tools.final_answer import FinalAnswerTool
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
@@ -18,7 +19,7 @@ def my_custom_tool(song_title:str, artist:int)-> list: #it's import to specify t
18
  Returns:
19
  List of dictionaries with webpage URLs and snippets
20
  """
21
- ddg_tool = DuckDuckGoSearchTool()
22
 
23
  full_query = f"{song_title} by {artist} lyrics"
24
 
 
6
  from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
+ from duckduckgo_search import DDGS
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
 
19
  Returns:
20
  List of dictionaries with webpage URLs and snippets
21
  """
22
+ ddg_tool = DDGS()#DuckDuckGoSearchTool()
23
 
24
  full_query = f"{song_title} by {artist} lyrics"
25