Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,9 @@ def invoke(openai_api_key, num_moves = 10):
|
|
16 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
17 |
result = run_multi_agent(LLM_WHITE, LLM_BLACK, num_moves)
|
18 |
del os.environ["OPENAI_API_KEY"]
|
|
|
|
|
|
|
19 |
return result
|
20 |
|
21 |
def clear():
|
|
|
16 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
17 |
result = run_multi_agent(LLM_WHITE, LLM_BLACK, num_moves)
|
18 |
del os.environ["OPENAI_API_KEY"]
|
19 |
+
print("===")
|
20 |
+
print(result)
|
21 |
+
print("===")
|
22 |
return result
|
23 |
|
24 |
def clear():
|