Spaces:
Runtime error
Runtime error
boscacci
commited on
Commit
•
6283918
1
Parent(s):
09cd8d1
Change box color
Browse files- .gitignore +1 -0
- app.py +8 -2
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.DS_Store
|
app.py
CHANGED
@@ -25,7 +25,13 @@ valid_tfms = tfms.A.Adapter(
|
|
25 |
)
|
26 |
|
27 |
# Populate examples in Gradio interface
|
28 |
-
examples = [
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
|
31 |
def show_preds(input_image):
|
@@ -40,7 +46,7 @@ def show_preds(input_image):
|
|
40 |
display_bbox=True,
|
41 |
return_img=True,
|
42 |
font_size=16,
|
43 |
-
label_color="#
|
44 |
)
|
45 |
return pred_dict["img"]
|
46 |
|
25 |
)
|
26 |
|
27 |
# Populate examples in Gradio interface
|
28 |
+
examples = [
|
29 |
+
["1.jpg"],
|
30 |
+
["2.jpg"],
|
31 |
+
["3.jpg"],
|
32 |
+
["4.jpg"],
|
33 |
+
["5.jpg"],
|
34 |
+
]
|
35 |
|
36 |
|
37 |
def show_preds(input_image):
|
46 |
display_bbox=True,
|
47 |
return_img=True,
|
48 |
font_size=16,
|
49 |
+
label_color="#02D800",
|
50 |
)
|
51 |
return pred_dict["img"]
|
52 |
|