Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
# app.py
|
| 2 |
import os
|
| 3 |
import streamlit as st
|
| 4 |
-
from typing import List
|
| 5 |
from dotenv import load_dotenv
|
| 6 |
from crewai import Agent, Crew, Process, Task
|
| 7 |
from crewai_tools import SerperDevTool, ScrapeWebsiteTool
|
|
@@ -116,11 +115,11 @@ def run_market_research(topic: str):
|
|
| 116 |
|
| 117 |
status.update(label="🚀 Assembling the crew and starting research...")
|
| 118 |
|
| 119 |
-
# Create and run the crew
|
| 120 |
crew = Crew(
|
| 121 |
agents=[researcher, analyst, writer],
|
| 122 |
tasks=[research_task, analysis_task, report_task],
|
| 123 |
-
verbose=2
|
| 124 |
process=Process.sequential
|
| 125 |
)
|
| 126 |
|
|
|
|
| 1 |
# app.py
|
| 2 |
import os
|
| 3 |
import streamlit as st
|
|
|
|
| 4 |
from dotenv import load_dotenv
|
| 5 |
from crewai import Agent, Crew, Process, Task
|
| 6 |
from crewai_tools import SerperDevTool, ScrapeWebsiteTool
|
|
|
|
| 115 |
|
| 116 |
status.update(label="🚀 Assembling the crew and starting research...")
|
| 117 |
|
| 118 |
+
# Create and run the crew with boolean verbose flag
|
| 119 |
crew = Crew(
|
| 120 |
agents=[researcher, analyst, writer],
|
| 121 |
tasks=[research_task, analysis_task, report_task],
|
| 122 |
+
verbose=True, # Changed from 2 to True
|
| 123 |
process=Process.sequential
|
| 124 |
)
|
| 125 |
|