Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,10 +28,10 @@ def show_preds(input_image):
|
|
| 28 |
pred_dict = model_type.end2end_detect(img, valid_tfms, model,
|
| 29 |
class_map=class_map,
|
| 30 |
detection_threshold=0.5,
|
| 31 |
-
display_label=
|
| 32 |
display_bbox=True,
|
| 33 |
return_img=True,
|
| 34 |
-
font_size=
|
| 35 |
label_color="#FF59D6")
|
| 36 |
return pred_dict["img"]
|
| 37 |
|
|
|
|
| 28 |
pred_dict = model_type.end2end_detect(img, valid_tfms, model,
|
| 29 |
class_map=class_map,
|
| 30 |
detection_threshold=0.5,
|
| 31 |
+
display_label=True,
|
| 32 |
display_bbox=True,
|
| 33 |
return_img=True,
|
| 34 |
+
font_size=25,
|
| 35 |
label_color="#FF59D6")
|
| 36 |
return pred_dict["img"]
|
| 37 |
|