bstraehle commited on
Commit
51fad07
·
verified ·
1 Parent(s): 2b0155a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ gr.close_all()
22
  demo = gr.Interface(fn = invoke,
23
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
24
  gr.Textbox(label = "Topic", value=os.environ["TOPIC"], lines = 1),
25
- gr.Number(label = "Word Count", value="500", minimum="500", maximum="5000")],
26
- outputs = [gr.Textbox(label = "Generated Blog Post", value=os.environ["OUTPUT"])],
27
  title = "Multi-Agent RAG: Blog Post Generation",
28
  description = os.environ["DESCRIPTION"])
29
 
 
22
  demo = gr.Interface(fn = invoke,
23
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
24
  gr.Textbox(label = "Topic", value=os.environ["TOPIC"], lines = 1),
25
+ gr.Number(label = "Word Count", value=500, minimum=500, maximum=5000)],
26
+ outputs = [gr.Markdown(label = "Generated Blog Post", value=os.environ["OUTPUT"])],
27
  title = "Multi-Agent RAG: Blog Post Generation",
28
  description = os.environ["DESCRIPTION"])
29