Spaces:
Runtime error
Runtime error
Ari commited on
Commit ·
5ace83d
1
Parent(s): f1bfa64
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,12 @@ iface = gr.Interface(
|
|
| 44 |
inputs=[
|
| 45 |
gr.inputs.Textbox(lines=2, label="Enter your question"),
|
| 46 |
],
|
| 47 |
-
outputs=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
title="GPT-powered Q&A",
|
| 49 |
description=markdown_data,
|
| 50 |
examples=[
|
|
@@ -57,13 +62,7 @@ iface = gr.Interface(
|
|
| 57 |
theme="compact",
|
| 58 |
layout="vertical",
|
| 59 |
article="",
|
| 60 |
-
# Add four plot outputs
|
| 61 |
-
outputs=[
|
| 62 |
-
gr.outputs.Plot(plot=graph1),
|
| 63 |
-
gr.outputs.Plot(plot=graph2),
|
| 64 |
-
gr.outputs.Plot(plot=graph3),
|
| 65 |
-
gr.outputs.Plot(plot=graph4),
|
| 66 |
-
],
|
| 67 |
)
|
| 68 |
|
|
|
|
| 69 |
iface.launch(inbrowser=True)
|
|
|
|
| 44 |
inputs=[
|
| 45 |
gr.inputs.Textbox(lines=2, label="Enter your question"),
|
| 46 |
],
|
| 47 |
+
outputs=[
|
| 48 |
+
gr.outputs.Plot(plot=graph1),
|
| 49 |
+
gr.outputs.Plot(plot=graph2),
|
| 50 |
+
gr.outputs.Plot(plot=graph3),
|
| 51 |
+
gr.outputs.Plot(plot=graph4),
|
| 52 |
+
],
|
| 53 |
title="GPT-powered Q&A",
|
| 54 |
description=markdown_data,
|
| 55 |
examples=[
|
|
|
|
| 62 |
theme="compact",
|
| 63 |
layout="vertical",
|
| 64 |
article="",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
)
|
| 66 |
|
| 67 |
+
|
| 68 |
iface.launch(inbrowser=True)
|