Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ gr.close_all()
|
|
35 |
demo = gr.Interface(fn = invoke,
|
36 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
37 |
gr.Textbox(label = "Topic", value=os.environ["TOPIC"], lines = 1)],
|
38 |
-
outputs = [gr.Markdown(label = "Article", value=os.environ["OUTPUT"])],
|
39 |
title = "Multi-Agent AI: Article Writing",
|
40 |
description = os.environ["DESCRIPTION"])
|
41 |
|
|
|
35 |
demo = gr.Interface(fn = invoke,
|
36 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
37 |
gr.Textbox(label = "Topic", value=os.environ["TOPIC"], lines = 1)],
|
38 |
+
outputs = [gr.Markdown(label = "Article", value=os.environ["OUTPUT"], line_breaks = True, sanitize_html = False)],
|
39 |
title = "Multi-Agent AI: Article Writing",
|
40 |
description = os.environ["DESCRIPTION"])
|
41 |
|