Spaces:
Sleeping
Sleeping
abrar-adnan
commited on
Commit
•
b852591
1
Parent(s):
5cb73ce
some update
Browse files
app.py
CHANGED
@@ -7,25 +7,25 @@ import gradio as gr
|
|
7 |
|
8 |
cap_labels = (
|
9 |
'balaclava cap',
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
)
|
30 |
|
31 |
model = load_learner('models/cap-recognizer-v1.pkl')
|
|
|
7 |
|
8 |
cap_labels = (
|
9 |
'balaclava cap',
|
10 |
+
'baseball cap',
|
11 |
+
'beanie cap',
|
12 |
+
'boater hat',
|
13 |
+
'bowler hat',
|
14 |
+
'bucket hat',
|
15 |
+
'cowboy hat',
|
16 |
+
'fedora cap',
|
17 |
+
'flat cap',
|
18 |
+
'ivy cap',
|
19 |
+
'kepi cap',
|
20 |
+
'newsboy cap',
|
21 |
+
'pork pie hat',
|
22 |
+
'rasta cap',
|
23 |
+
'sun hat',
|
24 |
+
'taqiyah cap',
|
25 |
+
'top hat',
|
26 |
+
'trucker cap',
|
27 |
+
'turban cap',
|
28 |
+
'visor cap'
|
29 |
)
|
30 |
|
31 |
model = load_learner('models/cap-recognizer-v1.pkl')
|