Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
·
edb4516
1
Parent(s):
b7541ec
Better labels
Browse files
app.py
CHANGED
@@ -69,8 +69,8 @@ def main():
|
|
69 |
fn=greet,
|
70 |
description="A demo of PySR",
|
71 |
inputs=[
|
72 |
-
gr.File(label="Upload a CSV
|
73 |
-
gr.Textbox(
|
74 |
gr.Slider(
|
75 |
minimum=1,
|
76 |
maximum=1000,
|
@@ -88,7 +88,7 @@ def main():
|
|
88 |
value=[],
|
89 |
),
|
90 |
],
|
91 |
-
outputs=["
|
92 |
)
|
93 |
# Add file to the demo:
|
94 |
|
|
|
69 |
fn=greet,
|
70 |
description="A demo of PySR",
|
71 |
inputs=[
|
72 |
+
gr.File(label="Upload a CSV File"),
|
73 |
+
gr.Textbox(label="Column to Predict", placeholder="y"),
|
74 |
gr.Slider(
|
75 |
minimum=1,
|
76 |
maximum=1000,
|
|
|
88 |
value=[],
|
89 |
),
|
90 |
],
|
91 |
+
outputs=[gr.DataFrame(label="Equations"), gr.Textbox(label="Error Log")],
|
92 |
)
|
93 |
# Add file to the demo:
|
94 |
|