apailang commited on
Commit
5dad358
β€’
1 Parent(s): a988eb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def predict(pilimg,Threshold):
41
 
42
  image_np = pil_image_as_numpy_array(pilimg)
43
 
44
- if isnull(Threshold) or Threshold == 0:
45
  Threshold=0.88
46
  # else:
47
  # Threshold= float(Threshold)
 
41
 
42
  image_np = pil_image_as_numpy_array(pilimg)
43
 
44
+ if Threshold is None or Threshold == 0:
45
  Threshold=0.88
46
  # else:
47
  # Threshold= float(Threshold)