vsrinivas commited on
Commit
258d538
1 Parent(s): 06706c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,11 +8,11 @@ from crewai_tools import ScrapeWebsiteTool, SerperDevTool
8
  import gradio as gr
9
  import os
10
 
11
- os.environ["SERPER_API_KEY"] = os.envget('SERPER_API_KEY')
12
 
13
  search_tool = SerperDevTool()
14
  scrape_tool = ScrapeWebsiteTool()
15
- llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.envget('OPENAI_API_KEY'), temperature=0.7)
16
 
17
  data_analyst_agent = Agent(
18
  role="Data Analyst",
@@ -175,7 +175,7 @@ financial_trading_crew = Crew(
175
  execution_planning_task,
176
  risk_assessment_task],
177
 
178
- manager_llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.envget('OPENAI_API_KEY'), temperature=0.7),
179
  full_output =True,
180
  process=Process.hierarchical,
181
  verbose=True
 
8
  import gradio as gr
9
  import os
10
 
11
+ os.environ["SERPER_API_KEY"] = os.getenv('SERPER_API_KEY')
12
 
13
  search_tool = SerperDevTool()
14
  scrape_tool = ScrapeWebsiteTool()
15
+ llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.getenv('OPENAI_API_KEY'), temperature=0.7)
16
 
17
  data_analyst_agent = Agent(
18
  role="Data Analyst",
 
175
  execution_planning_task,
176
  risk_assessment_task],
177
 
178
+ manager_llm=ChatOpenAI(model="gpt-4o-mini", openai_api_key =os.getenv('OPENAI_API_KEY'), temperature=0.7),
179
  full_output =True,
180
  process=Process.hierarchical,
181
  verbose=True