We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb71555 commit ff8608eCopy full SHA for ff8608e
backend/core/tasks.py
@@ -526,6 +526,13 @@ def predict_area(prediction_request_id):
526
predict_area.request.id,
527
)
528
inst.save()
529
+ if not inst.config.get("bbox"):
530
+ inst.config["bbox"] = [
531
+ 0,
532
533
534
535
+ ] # add default bbox to pass through validation , TODO : Fix this , improve the pydantic model at fairpredictor side
536
params = PredictionRequest(**inst.config)
537
predictions = asyncio.run(
538
predict(
0 commit comments