Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ gr.close_all()
|
|
| 25 |
demo = gr.Interface(fn = invoke,
|
| 26 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
| 27 |
gr.Textbox(label = "Message", value = "Today is 06/03/2024. Create a plot showing stock gain YTD for NVDA and TLSA. Make sure the code is in markdown code block and save the figure to a file ytd_stock_gains.png.")],
|
| 28 |
-
outputs = [gr.
|
| 29 |
title = "Multi-Agent AI: Financial Analysis",
|
| 30 |
description = os.environ["DESCRIPTION"])
|
| 31 |
|
|
|
|
| 25 |
demo = gr.Interface(fn = invoke,
|
| 26 |
inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
|
| 27 |
gr.Textbox(label = "Message", value = "Today is 06/03/2024. Create a plot showing stock gain YTD for NVDA and TLSA. Make sure the code is in markdown code block and save the figure to a file ytd_stock_gains.png.")],
|
| 28 |
+
outputs = [gr.Markdown(label = "Result", value=os.environ["OUTPUT"])],
|
| 29 |
title = "Multi-Agent AI: Financial Analysis",
|
| 30 |
description = os.environ["DESCRIPTION"])
|
| 31 |
|