Spaces:
Runtime error
Runtime error
eaglelandsonce
commited on
Commit
•
07cda62
1
Parent(s):
37c64a3
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,8 @@ from crewai.tools.sec_tools import SECTools
|
|
12 |
# Google Langchain
|
13 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
14 |
|
|
|
|
|
15 |
# Retrieve API Key from Environment Variable
|
16 |
GOOGLE_AI_STUDIO = os.environ.get('GOOGLE_API_KEY')
|
17 |
|
@@ -24,7 +26,7 @@ if not GOOGLE_AI_STUDIO:
|
|
24 |
genai.configure(api_key=GOOGLE_AI_STUDIO)
|
25 |
model = genai.GenerativeModel('gemini-pro')
|
26 |
|
27 |
-
|
28 |
|
29 |
os.environ["OPENAI_API_KEY"] = "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"
|
30 |
|
|
|
12 |
# Google Langchain
|
13 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
14 |
|
15 |
+
from crewai import Crew, Agent, Task, Process
|
16 |
+
|
17 |
# Retrieve API Key from Environment Variable
|
18 |
GOOGLE_AI_STUDIO = os.environ.get('GOOGLE_API_KEY')
|
19 |
|
|
|
26 |
genai.configure(api_key=GOOGLE_AI_STUDIO)
|
27 |
model = genai.GenerativeModel('gemini-pro')
|
28 |
|
29 |
+
|
30 |
|
31 |
os.environ["OPENAI_API_KEY"] = "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"
|
32 |
|