Spaces:
Runtime error
Runtime error
eaglelandsonce
commited on
Commit
•
6168534
1
Parent(s):
9dfe955
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ from textwrap import dedent
|
|
4 |
from dotenv import load_dotenv
|
5 |
|
6 |
from crewai.tools.gemini_tools import GeminiSearchTools
|
7 |
-
from
|
|
|
8 |
|
9 |
from crewai import Agent, Task, Crew, Process
|
10 |
|
@@ -28,8 +29,8 @@ def crewai_process(research_topic):
|
|
28 |
allow_delegation=False,
|
29 |
tools=[
|
30 |
GeminiSearchTools.gemini_search,
|
31 |
-
|
32 |
-
|
33 |
]
|
34 |
)
|
35 |
writer = Agent(
|
|
|
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 |
|
|
|
29 |
allow_delegation=False,
|
30 |
tools=[
|
31 |
GeminiSearchTools.gemini_search,
|
32 |
+
YahooFinanceNewsTool(),
|
33 |
+
BrowserTools.scrape_and_summarize_website
|
34 |
]
|
35 |
)
|
36 |
writer = Agent(
|