Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ gr.close_all()
|
|
21 |
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=
|
25 |
outputs = [gr.Markdown(label = "Generated Article", value=os.environ["OUTPUT"])],
|
26 |
title = "Multi-Agent RAG: Article Generation",
|
27 |
description = os.environ["DESCRIPTION"])
|
|
|
21 |
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=2000, 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"])
|