Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,13 @@ def invoke(openai_api_key, topic):
|
|
15 |
|
16 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
17 |
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
gr.close_all()
|
21 |
|
|
|
15 |
|
16 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
17 |
|
18 |
+
result = get_crew(LLM).kickoff(inputs={"topic": topic})
|
19 |
+
|
20 |
+
print("######")
|
21 |
+
print(result)
|
22 |
+
print("######")
|
23 |
+
|
24 |
+
return result
|
25 |
|
26 |
gr.close_all()
|
27 |
|