Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def clear():
|
|
35 |
|
36 |
gr.close_all()
|
37 |
|
38 |
-
with gr.Blocks(
|
39 |
gr.Markdown("## Multi-Agent AI: Article Writing")
|
40 |
gr.Markdown(os.environ.get("DESCRIPTION"))
|
41 |
|
@@ -49,7 +49,7 @@ with gr.Blocks(title="Multi-Agent AI") as assistant:
|
|
49 |
components=[openai_api_key, topic]
|
50 |
)
|
51 |
submit_btn = gr.Button("Submit", variant="primary")
|
52 |
-
with gr.Column(scale=
|
53 |
article = gr.Markdown(label = "Article", value=os.environ["OUTPUT"], line_breaks = True, sanitize_html = False)
|
54 |
|
55 |
clear_btn.click(
|
|
|
35 |
|
36 |
gr.close_all()
|
37 |
|
38 |
+
with gr.Blocks() as assistant:
|
39 |
gr.Markdown("## Multi-Agent AI: Article Writing")
|
40 |
gr.Markdown(os.environ.get("DESCRIPTION"))
|
41 |
|
|
|
49 |
components=[openai_api_key, topic]
|
50 |
)
|
51 |
submit_btn = gr.Button("Submit", variant="primary")
|
52 |
+
with gr.Column(scale=2):
|
53 |
article = gr.Markdown(label = "Article", value=os.environ["OUTPUT"], line_breaks = True, sanitize_html = False)
|
54 |
|
55 |
clear_btn.click(
|