dromerosm commited on
Commit
b4f8caf
1 Parent(s): e7c7689

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  from crewai import Agent, Task, Crew
4
  from langchain_groq import ChatGroq
5
  from langchain_community.tools import DuckDuckGoSearchRun, DuckDuckGoSearchResults
6
- from crewai_tools import tool, SeleniumScrapingTool
7
 
8
  # Define the DuckDuckGoSearch tool using the decorator for tool registration
9
  @tool('DuckDuckGoSearch')
@@ -37,7 +37,7 @@ def search_results(search_query: str):
37
  @tool('WebScrapper')
38
  def web_scrapper(url: str):
39
  """
40
- A tool designed to extract and read the content of a specified website.
41
  It is capable of handling various types of web pages by making HTTP requests and parsing the received HTML content.
42
  This tool can be particularly useful for web scraping tasks, data collection, or extracting specific information from websites.
43
  """
 
3
  from crewai import Agent, Task, Crew
4
  from langchain_groq import ChatGroq
5
  from langchain_community.tools import DuckDuckGoSearchRun, DuckDuckGoSearchResults
6
+ from crewai_tools import tool, SeleniumScrapingTool, ScrapeWebsiteTool
7
 
8
  # Define the DuckDuckGoSearch tool using the decorator for tool registration
9
  @tool('DuckDuckGoSearch')
 
37
  @tool('WebScrapper')
38
  def web_scrapper(url: str):
39
  """
40
+ A tool designed to extract and read the content of a specified link.
41
  It is capable of handling various types of web pages by making HTTP requests and parsing the received HTML content.
42
  This tool can be particularly useful for web scraping tasks, data collection, or extracting specific information from websites.
43
  """