bstraehle commited on
Commit
361ee43
·
verified ·
1 Parent(s): 4afd97e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -15,9 +15,7 @@ def invoke(openai_api_key, topic, word_count=1000):
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
- return result
21
 
22
  gr.close_all()
23
 
 
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