Spaces:
Runtime error
Runtime error
Update agency.py
Browse files
agency.py
CHANGED
@@ -3,9 +3,9 @@ from agency_swarm import set_openai_key
|
|
3 |
from ExpertDataAnalyst import ExpertDataAnalyst
|
4 |
from SalesManagerCEO import SalesManagerCEO
|
5 |
import os
|
6 |
-
API_KEY = os.getenv['OPENAI_API_KEY']
|
7 |
|
8 |
-
|
|
|
9 |
|
10 |
salesManagerCEO = SalesManagerCEO()
|
11 |
expertDataAnalyst = ExpertDataAnalyst()
|
|
|
3 |
from ExpertDataAnalyst import ExpertDataAnalyst
|
4 |
from SalesManagerCEO import SalesManagerCEO
|
5 |
import os
|
|
|
6 |
|
7 |
+
api_key = os.getenv("OPENAI_API_KEY")
|
8 |
+
set_openai_key(api_key)
|
9 |
|
10 |
salesManagerCEO = SalesManagerCEO()
|
11 |
expertDataAnalyst = ExpertDataAnalyst()
|