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