Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ examples = [['sample_images/3.jpg'],['sample_images/15.jpg'],['sample_images/9.j
|
|
| 55 |
|
| 56 |
#def show_preds(input_image, display_label, display_bbox, detection_threshold):
|
| 57 |
def show_preds(input_image):
|
| 58 |
-
if detection_threshold==0: detection_threshold=0.5
|
| 59 |
|
| 60 |
img = PIL.Image.fromarray(input_image, 'RGB')
|
| 61 |
|
|
|
|
| 55 |
|
| 56 |
#def show_preds(input_image, display_label, display_bbox, detection_threshold):
|
| 57 |
def show_preds(input_image):
|
| 58 |
+
#if detection_threshold==0: detection_threshold=0.5
|
| 59 |
|
| 60 |
img = PIL.Image.fromarray(input_image, 'RGB')
|
| 61 |
|