Update app.py
Browse files
app.py
CHANGED
@@ -10,14 +10,11 @@ from transformers import AutoProcessor, AutoModelForVision2Seq
|
|
10 |
import cv2
|
11 |
|
12 |
colors = [
|
13 |
-
(255, 0, 0),
|
14 |
(0, 255, 0),
|
15 |
(0, 0, 255),
|
16 |
-
|
17 |
(255, 255, 0),
|
18 |
(255, 0, 255),
|
19 |
(0, 255, 255),
|
20 |
-
|
21 |
(114, 128, 250),
|
22 |
(0, 165, 255),
|
23 |
(0, 128, 0),
|
@@ -28,6 +25,7 @@ colors = [
|
|
28 |
(226, 43, 138),
|
29 |
(255, 0, 255),
|
30 |
(0, 215, 255),
|
|
|
31 |
]
|
32 |
|
33 |
color_map = {
|
|
|
10 |
import cv2
|
11 |
|
12 |
colors = [
|
|
|
13 |
(0, 255, 0),
|
14 |
(0, 0, 255),
|
|
|
15 |
(255, 255, 0),
|
16 |
(255, 0, 255),
|
17 |
(0, 255, 255),
|
|
|
18 |
(114, 128, 250),
|
19 |
(0, 165, 255),
|
20 |
(0, 128, 0),
|
|
|
25 |
(226, 43, 138),
|
26 |
(255, 0, 255),
|
27 |
(0, 215, 255),
|
28 |
+
(255, 0, 0),
|
29 |
]
|
30 |
|
31 |
color_map = {
|