bstraehle commited on
Commit
1403ab9
1 Parent(s): f122d9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import agentops, os
3
 
4
- from crew import get_crew
5
 
6
  LLM = "gpt-4o"
7
 
@@ -15,8 +15,9 @@ def invoke(openai_api_key, topic, word_count=500):
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()
 
1
  import gradio as gr
2
  import agentops, os
3
 
4
+ #from crew import get_crew
5
 
6
  LLM = "gpt-4o"
7
 
 
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
+ result = "TODO"
20
+
21
  return result
22
 
23
  gr.close_all()