bstraehle commited on
Commit
69e71cd
1 Parent(s): 3416eab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -17,10 +17,6 @@ def invoke(openai_api_key, topic):
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()
@@ -28,7 +24,7 @@ gr.close_all()
28
  demo = gr.Interface(fn = invoke,
29
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
30
  gr.Textbox(label = "Topic", value=os.environ["TOPIC"], lines = 1)],
31
- outputs = [gr.Markdown(label = "Generated Blog Post", value=os.environ["OUTPUT"])],
32
  title = "Multi-Agent RAG: Article Generation",
33
  description = os.environ["DESCRIPTION"])
34
 
 
17
 
18
  result = get_crew(LLM).kickoff(inputs={"topic": topic})
19
 
 
 
 
 
20
  return result
21
 
22
  gr.close_all()
 
24
  demo = gr.Interface(fn = invoke,
25
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
26
  gr.Textbox(label = "Topic", value=os.environ["TOPIC"], lines = 1)],
27
+ outputs = [gr.Markdown(label = "Generated Article", value=os.environ["OUTPUT"])],
28
  title = "Multi-Agent RAG: Article Generation",
29
  description = os.environ["DESCRIPTION"])
30