Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -21,9 +21,9 @@ gr.close_all()
|
|
21 |
|
22 |
demo = gr.Interface(fn = invoke,
|
23 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
24 |
-
gr.Textbox(label = "Topic", value="
|
25 |
gr.Number(label = "Words", value="2500")],
|
26 |
-
outputs = [gr.Textbox(label = "Output", lines = 1)],
|
27 |
title = "Multi-Agent RAG: Blog Post Generation",
|
28 |
description = os.environ["DESCRIPTION"])
|
29 |
|
|
|
21 |
|
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 = "Words", value="2500")],
|
26 |
+
outputs = [gr.Textbox(label = "Output", value=os.environ["OUTPUT"], lines = 1)],
|
27 |
title = "Multi-Agent RAG: Blog Post Generation",
|
28 |
description = os.environ["DESCRIPTION"])
|
29 |
|