Matthew Danish commited on
Commit
1cfce00
1 Parent(s): e76c9f9

default for detections

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def main(form):
73
  result['spatial_params']=spatparams
74
  result['distortion_params']=distparams
75
  result['points_params']=ptsparams
76
- result['detections']=json.loads(form['detections'])
77
  result['image_points']=[]
78
 
79
  if result['success']:
 
73
  result['spatial_params']=spatparams
74
  result['distortion_params']=distparams
75
  result['points_params']=ptsparams
76
+ result['detections']=json.loads(form['detections'] or '')
77
  result['image_points']=[]
78
 
79
  if result['success']: