eaglelandsonce
commited on
Commit
•
57f10fe
1
Parent(s):
6168534
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
from textwrap import dedent
|
4 |
-
from dotenv import load_dotenv
|
5 |
|
|
|
|
|
6 |
from crewai.tools.gemini_tools import GeminiSearchTools
|
7 |
from langchain.tools.yahoo_finance_news import YahooFinanceNewsTool
|
8 |
from crewai.tools.browser_tools import BrowserTools
|
|
|
9 |
|
10 |
from crewai import Agent, Task, Crew, Process
|
11 |
|
@@ -30,7 +32,9 @@ def crewai_process(research_topic):
|
|
30 |
tools=[
|
31 |
GeminiSearchTools.gemini_search,
|
32 |
YahooFinanceNewsTool(),
|
33 |
-
BrowserTools.scrape_and_summarize_website
|
|
|
|
|
34 |
]
|
35 |
)
|
36 |
writer = Agent(
|
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
from textwrap import dedent
|
|
|
4 |
|
5 |
+
|
6 |
+
# Tool import
|
7 |
from crewai.tools.gemini_tools import GeminiSearchTools
|
8 |
from langchain.tools.yahoo_finance_news import YahooFinanceNewsTool
|
9 |
from crewai.tools.browser_tools import BrowserTools
|
10 |
+
from crewai.tools.sec_tools import SECTools
|
11 |
|
12 |
from crewai import Agent, Task, Crew, Process
|
13 |
|
|
|
32 |
tools=[
|
33 |
GeminiSearchTools.gemini_search,
|
34 |
YahooFinanceNewsTool(),
|
35 |
+
BrowserTools.scrape_and_summarize_website,
|
36 |
+
SECTools.search_10q,
|
37 |
+
SECTools.search_10k
|
38 |
]
|
39 |
)
|
40 |
writer = Agent(
|