bstraehle commited on
Commit
5e2d6bd
·
verified ·
1 Parent(s): ed41fde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -14,8 +14,14 @@ def invoke(openai_api_key, topic, word_count=500):
14
  agentops.init(os.environ["AGENTOPS_API_KEY"])
15
 
16
  os.environ["OPENAI_API_KEY"] = openai_api_key
 
 
 
 
 
 
17
 
18
- return get_crew(LLM).kickoff(inputs={"topic": topic, "word_count": word_count})
19
 
20
  gr.close_all()
21
 
 
14
  agentops.init(os.environ["AGENTOPS_API_KEY"])
15
 
16
  os.environ["OPENAI_API_KEY"] = openai_api_key
17
+
18
+ result = get_crew(LLM).kickoff(inputs={"topic": topic, "word_count": word_count})
19
+
20
+ print("###")
21
+ print(result)
22
+ print("###")
23
 
24
+ return result
25
 
26
  gr.close_all()
27