Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,7 @@ import agentops, os
|
|
3 |
|
4 |
from crew import get_crew
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
agentops.init()
|
9 |
|
10 |
def invoke(openai_api_key, topic):
|
11 |
if (openai_api_key == ""):
|
|
|
3 |
|
4 |
from crew import get_crew
|
5 |
|
6 |
+
agentops.init(os.environ["AGENTOPS_API_KEY"])
|
|
|
|
|
7 |
|
8 |
def invoke(openai_api_key, topic):
|
9 |
if (openai_api_key == ""):
|