MilesCranmer commited on
Commit
edb4516
·
1 Parent(s): b7541ec

Better labels

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 file"),
73
- gr.Textbox(placeholder="Column to predict"),
74
  gr.Slider(
75
  minimum=1,
76
  maximum=1000,
@@ -88,7 +88,7 @@ def main():
88
  value=[],
89
  ),
90
  ],
91
- outputs=["dataframe", "text"],
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