Spaces:
Sleeping
Sleeping
Update utils/predict.py
Browse files- utils/predict.py +1 -1
utils/predict.py
CHANGED
@@ -326,7 +326,7 @@ def predict_page(input: Inputs, output: Outputs, session: Session):
|
|
326 |
if (
|
327 |
validate_inputs(input.origin_lat(), input.origin_lon(),
|
328 |
input.destination_lat(), input.destination_lon())
|
329 |
-
|
330 |
validate_inputs(origin_lat(), origin_lon(),
|
331 |
destination_lat(), destination_lon())
|
332 |
):
|
|
|
326 |
if (
|
327 |
validate_inputs(input.origin_lat(), input.origin_lon(),
|
328 |
input.destination_lat(), input.destination_lon())
|
329 |
+
or
|
330 |
validate_inputs(origin_lat(), origin_lon(),
|
331 |
destination_lat(), destination_lon())
|
332 |
):
|