eaglelandsonce commited on
Commit
e4cb85e
·
1 Parent(s): 602879d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -26,7 +26,7 @@ model = genai.GenerativeModel('gemini-pro')
26
 
27
  from crewai import Agent, Task, Crew, Process
28
 
29
- # os.environ["OPENAI_API_KEY"] = "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"
30
 
31
  # Crew Bot: https://chat.openai.com/g/g-qqTuUWsBY-crewai-assistant
32
 
@@ -52,7 +52,6 @@ def crewai_process(research_topic):
52
  actionable insights.""",
53
  verbose=True,
54
  allow_delegation=False,
55
- llm = ChatGoogleGenerativeAI(model),
56
  tools=[
57
  GeminiSearchTools.gemini_search
58
  ]
@@ -65,8 +64,7 @@ def crewai_process(research_topic):
65
  and engaging articles on technology and innovation. With a deep understanding of
66
  the tech industry, you transform complex concepts into compelling narratives.""",
67
  verbose=True,
68
- allow_delegation=True,
69
- llm = ChatGoogleGenerativeAI(model)
70
 
71
  # Add tools and other optional parameters as needed
72
  )
 
26
 
27
  from crewai import Agent, Task, Crew, Process
28
 
29
+ os.environ["OPENAI_API_KEY"] = "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"
30
 
31
  # Crew Bot: https://chat.openai.com/g/g-qqTuUWsBY-crewai-assistant
32
 
 
52
  actionable insights.""",
53
  verbose=True,
54
  allow_delegation=False,
 
55
  tools=[
56
  GeminiSearchTools.gemini_search
57
  ]
 
64
  and engaging articles on technology and innovation. With a deep understanding of
65
  the tech industry, you transform complex concepts into compelling narratives.""",
66
  verbose=True,
67
+ allow_delegation=True
 
68
 
69
  # Add tools and other optional parameters as needed
70
  )