MilesCranmer commited on
Commit
801ce9c
·
unverified ·
1 Parent(s): 91ce4dd

Fix length limit

Browse files
Files changed (1) hide show
  1. gui/app.py +2 -2
gui/app.py CHANGED
@@ -57,10 +57,10 @@ def greet(
57
  f"The column to predict, {col_to_fit}, is not in the file!"
58
  f"I found {df.columns}.",
59
  )
60
- if len(df) > 1000 and not force_run:
61
  return (
62
  empty_df,
63
- "You have uploaded a file with more than 2000 rows. "
64
  "This will take very long to run. "
65
  "Please upload a subsample of the data, "
66
  "or check the box 'Ignore Warnings'.",
 
57
  f"The column to predict, {col_to_fit}, is not in the file!"
58
  f"I found {df.columns}.",
59
  )
60
+ if len(df) > 10_000 and not force_run:
61
  return (
62
  empty_df,
63
+ "You have uploaded a file with more than 10,000 rows. "
64
  "This will take very long to run. "
65
  "Please upload a subsample of the data, "
66
  "or check the box 'Ignore Warnings'.",