Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def invoke(openai_api_key, topic):
|
|
20 |
with lock:
|
21 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
22 |
|
23 |
-
article = get_crew(LLM, TEMPERATURE, VERBOSE).kickoff(inputs={"topic": topic})
|
24 |
|
25 |
print("===")
|
26 |
print(article)
|
|
|
20 |
with lock:
|
21 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
22 |
|
23 |
+
article = str(get_crew(LLM, TEMPERATURE, VERBOSE).kickoff(inputs={"topic": topic}))
|
24 |
|
25 |
print("===")
|
26 |
print(article)
|