Spaces:
Runtime error
Runtime error
Ziyou Li
commited on
Commit
·
614ac0b
1
Parent(s):
b2d6c75
Update app.py
Browse files
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")
|