Spaces:
Sleeping
Sleeping
Alex Vega
commited on
Commit
·
f47c492
1
Parent(s):
d7785ad
up
Browse files
main.py
CHANGED
@@ -23,8 +23,7 @@ app = FastAPI(
|
|
23 |
|
24 |
CLASS_NAMES = [
|
25 |
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
|
26 |
-
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'
|
27 |
-
'del', 'nothing', 'space'
|
28 |
]
|
29 |
|
30 |
def preprocess_image(image: Image.Image) -> np.ndarray:
|
|
|
23 |
|
24 |
CLASS_NAMES = [
|
25 |
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
|
26 |
+
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'
|
|
|
27 |
]
|
28 |
|
29 |
def preprocess_image(image: Image.Image) -> np.ndarray:
|