Omnibus commited on
Commit
fd6870c
·
1 Parent(s): a2b7044

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -118,8 +118,7 @@ def proc1(img):
118
  print (f'bounds: {out}')
119
  try:
120
  if float(out) > float(targ[0]):
121
- targ = []
122
- targ.append(out)
123
  else:
124
  pass
125
  except Exception as e:
@@ -142,8 +141,7 @@ def proc2(img):
142
  print (f'bounds: {out}')
143
  try:
144
  if float(out) > float(targ[0]):
145
- targ = []
146
- targ.append(out)
147
  else:
148
  pass
149
  except Exception as e:
 
118
  print (f'bounds: {out}')
119
  try:
120
  if float(out) > float(targ[0]):
121
+ targ[0]=out
 
122
  else:
123
  pass
124
  except Exception as e:
 
141
  print (f'bounds: {out}')
142
  try:
143
  if float(out) > float(targ[0]):
144
+ targ[0] = out
 
145
  else:
146
  pass
147
  except Exception as e: