Spaces:
Sleeping
Sleeping
Fix issue with col not found
Browse files- gui/app.py +0 -5
gui/app.py
CHANGED
|
@@ -50,11 +50,6 @@ def greet(
|
|
| 50 |
empty_df,
|
| 51 |
"The file has only one column!",
|
| 52 |
)
|
| 53 |
-
if col_to_fit not in df.columns:
|
| 54 |
-
return (
|
| 55 |
-
empty_df,
|
| 56 |
-
"The column to predict is not in the file!",
|
| 57 |
-
)
|
| 58 |
if len(df) > 1000 and not force_run:
|
| 59 |
return (
|
| 60 |
empty_df,
|
|
|
|
| 50 |
empty_df,
|
| 51 |
"The file has only one column!",
|
| 52 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
if len(df) > 1000 and not force_run:
|
| 54 |
return (
|
| 55 |
empty_df,
|