Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,6 +81,8 @@ if st.button("Generate Report"):
|
|
| 81 |
match_crew = Crew(
|
| 82 |
agents=[scout, analyst, writer],
|
| 83 |
tasks=[scrape_task, analyze_task, write_report_task]
|
|
|
|
|
|
|
| 84 |
)
|
| 85 |
|
| 86 |
result = match_crew.kickoff(inputs={'url': url_input})
|
|
|
|
| 81 |
match_crew = Crew(
|
| 82 |
agents=[scout, analyst, writer],
|
| 83 |
tasks=[scrape_task, analyze_task, write_report_task]
|
| 84 |
+
verbose=True, # This helps us see the agents working in real-time
|
| 85 |
+
max_rpm=2 # Limits the crew to 2 requests every 60 seconds
|
| 86 |
)
|
| 87 |
|
| 88 |
result = match_crew.kickoff(inputs={'url': url_input})
|