Ziyou Li commited on
Commit
614ac0b
·
1 Parent(s): b2d6c75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def get_row():
47
 
48
  row = pd.DataFrame([row], columns=row.keys())
49
  print(row)
50
-
51
  return row
52
 
53
  model = joblib.load("./traffic_model.pkl")
 
47
 
48
  row = pd.DataFrame([row], columns=row.keys())
49
  print(row)
50
+ row.dropna(axis=0, inplace=True)
51
  return row
52
 
53
  model = joblib.load("./traffic_model.pkl")