Matthew Danish commited on
Commit
f3b8f30
1 Parent(s): 2472160

fix stupid typo

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