Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ 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.Markdown(label = "Generated
|
26 |
-
title = "Multi-Agent RAG:
|
27 |
description = os.environ["DESCRIPTION"])
|
28 |
|
29 |
demo.launch()
|
|
|
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 Article", value=os.environ["OUTPUT"])],
|
26 |
+
title = "Multi-Agent RAG: Article Generation",
|
27 |
description = os.environ["DESCRIPTION"])
|
28 |
|
29 |
demo.launch()
|