Spaces:
Sleeping
Sleeping
Commit
·
075f359
1
Parent(s):
ad97d8e
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ if not GOOGLE_AI_STUDIO:
|
|
24 |
genai.configure(api_key=GOOGLE_AI_STUDIO)
|
25 |
model = genai.GenerativeModel('gemini-pro')
|
26 |
|
27 |
-
from
|
28 |
|
29 |
os.environ["OPENAI_API_KEY"] = "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"
|
30 |
|
@@ -86,7 +86,7 @@ def crewai_process(research_topic):
|
|
86 |
)
|
87 |
|
88 |
# Instantiate your crew with a sequential process
|
89 |
-
|
90 |
agents=[researcher, writer],
|
91 |
tasks=[task1, task2],
|
92 |
verbose=2,
|
|
|
24 |
genai.configure(api_key=GOOGLE_AI_STUDIO)
|
25 |
model = genai.GenerativeModel('gemini-pro')
|
26 |
|
27 |
+
from gmixai import Agent, Task, Crew, Process
|
28 |
|
29 |
os.environ["OPENAI_API_KEY"] = "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"
|
30 |
|
|
|
86 |
)
|
87 |
|
88 |
# Instantiate your crew with a sequential process
|
89 |
+
gmix = Gmix(
|
90 |
agents=[researcher, writer],
|
91 |
tasks=[task1, task2],
|
92 |
verbose=2,
|