Spaces:
Running
Running
Start prediction plot
Browse files- gui/app.py +7 -2
gui/app.py
CHANGED
|
@@ -350,12 +350,17 @@ def main():
|
|
| 350 |
blocks = {**blocks, **_settings_layout()}
|
| 351 |
|
| 352 |
with gr.Column():
|
| 353 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 354 |
blocks["df"] = gr.Dataframe(
|
| 355 |
headers=["complexity", "loss", "equation"],
|
| 356 |
datatype=["number", "number", "str"],
|
| 357 |
wrap=True,
|
| 358 |
-
column_widths=[
|
|
|
|
| 359 |
)
|
| 360 |
blocks["run"] = gr.Button()
|
| 361 |
|
|
|
|
| 350 |
blocks = {**blocks, **_settings_layout()}
|
| 351 |
|
| 352 |
with gr.Column():
|
| 353 |
+
with gr.Tab("Pareto Front"):
|
| 354 |
+
blocks["pareto"] = gr.Plot()
|
| 355 |
+
with gr.Tab("Predictions"):
|
| 356 |
+
blocks["predictions_plot"] = gr.Plot()
|
| 357 |
+
|
| 358 |
blocks["df"] = gr.Dataframe(
|
| 359 |
headers=["complexity", "loss", "equation"],
|
| 360 |
datatype=["number", "number", "str"],
|
| 361 |
wrap=True,
|
| 362 |
+
column_widths=[75, 75, 200],
|
| 363 |
+
interactive=False,
|
| 364 |
)
|
| 365 |
blocks["run"] = gr.Button()
|
| 366 |
|