Spaces:
Sleeping
Sleeping
Commit
·
0909d33
1
Parent(s):
9e6875e
tst inference
Browse files
app.py
CHANGED
@@ -15,10 +15,10 @@ with open(local_filename, 'wb') as f:
|
|
15 |
# Load the model
|
16 |
model = joblib.load(local_filename)
|
17 |
|
18 |
-
test_data = {
|
19 |
"location_found_elevation": 1500,
|
20 |
"situation": "lost"
|
21 |
-
}
|
22 |
|
23 |
output = model.predict([test_data])
|
24 |
|
|
|
15 |
# Load the model
|
16 |
model = joblib.load(local_filename)
|
17 |
|
18 |
+
test_data = [{
|
19 |
"location_found_elevation": 1500,
|
20 |
"situation": "lost"
|
21 |
+
}]
|
22 |
|
23 |
output = model.predict([test_data])
|
24 |
|