eaglelandsonce commited on
Commit
8398bc6
·
verified ·
1 Parent(s): a9275d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,7 +59,7 @@ def crewai_process(research_topic):
59
  goal='To create a story from bullet points.',
60
  backstory="""You are an expert writer that understands how to make the average extraordinary on paper """,
61
  verbose=True,
62
- allow_delegation=False,
63
  llm = gemini_llm,
64
  tools=[
65
  GeminiSearchTools.gemini_search
@@ -75,7 +75,7 @@ def crewai_process(research_topic):
75
  goal='To analyze the current green environment setup and sensor configurations, and provide recommendations for optimizing sensor placement and additions to achieve the desired goals. Be creative add missing details give a plausible answer.',
76
  backstory="""You are an experienced environmental engineer specializing in sensor deployment and optimization for green environments like gardens, parks, and agricultural settings. With your deep understanding of sensor technology, data analysis, and environmental factors, you can evaluate the existing sensor setup and recommend improvements to enhance monitoring capabilities, increase efficiency, and better achieve the desired outcomes for the green environment.""",
77
  verbose=True,
78
- allow_delegation=False,
79
  llm=gemini_llm,
80
  tools=[
81
  AnthropicSearchTools.anthropic_search
 
59
  goal='To create a story from bullet points.',
60
  backstory="""You are an expert writer that understands how to make the average extraordinary on paper """,
61
  verbose=True,
62
+ allow_delegation=True,
63
  llm = gemini_llm,
64
  tools=[
65
  GeminiSearchTools.gemini_search
 
75
  goal='To analyze the current green environment setup and sensor configurations, and provide recommendations for optimizing sensor placement and additions to achieve the desired goals. Be creative add missing details give a plausible answer.',
76
  backstory="""You are an experienced environmental engineer specializing in sensor deployment and optimization for green environments like gardens, parks, and agricultural settings. With your deep understanding of sensor technology, data analysis, and environmental factors, you can evaluate the existing sensor setup and recommend improvements to enhance monitoring capabilities, increase efficiency, and better achieve the desired outcomes for the green environment.""",
77
  verbose=True,
78
+ allow_delegation=True,
79
  llm=gemini_llm,
80
  tools=[
81
  AnthropicSearchTools.anthropic_search