dnth commited on
Commit
d767593
·
1 Parent(s): 2807146

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=False,
32
  display_bbox=True,
33
  return_img=True,
34
- font_size=16,
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