Commit
·
fd9d6eb
1
Parent(s):
8304537
se visualiza grafico exitosamente
Browse files
app.py
CHANGED
|
@@ -517,10 +517,10 @@ def create_interface():
|
|
| 517 |
|
| 518 |
with gr.Row():
|
| 519 |
with gr.Column():
|
| 520 |
-
plot_output = gr.Plot(
|
| 521 |
-
|
| 522 |
-
|
| 523 |
-
)
|
| 524 |
image_output = gr.Image(
|
| 525 |
label="Generated Plot",
|
| 526 |
type="filepath",
|
|
@@ -534,7 +534,7 @@ def create_interface():
|
|
| 534 |
agent_thoughts,
|
| 535 |
generated_code,
|
| 536 |
execution_output,
|
| 537 |
-
plot_output, # Pass the actual component, not None
|
| 538 |
image_output # Pass the actual component, not None
|
| 539 |
]
|
| 540 |
|
|
|
|
| 517 |
|
| 518 |
with gr.Row():
|
| 519 |
with gr.Column():
|
| 520 |
+
# plot_output = gr.Plot(
|
| 521 |
+
# label="Generated Visualization",
|
| 522 |
+
# visible=False
|
| 523 |
+
# )
|
| 524 |
image_output = gr.Image(
|
| 525 |
label="Generated Plot",
|
| 526 |
type="filepath",
|
|
|
|
| 534 |
agent_thoughts,
|
| 535 |
generated_code,
|
| 536 |
execution_output,
|
| 537 |
+
# plot_output, # Pass the actual component, not None
|
| 538 |
image_output # Pass the actual component, not None
|
| 539 |
]
|
| 540 |
|