Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ carTransforms = transforms.Compose([transforms.Resize(224),
|
|
| 68 |
|
| 69 |
def classifyCar(im):
|
| 70 |
try:
|
| 71 |
-
|
| 72 |
except:
|
| 73 |
label = "fail"
|
| 74 |
try:
|
|
|
|
| 68 |
|
| 69 |
def classifyCar(im):
|
| 70 |
try:
|
| 71 |
+
im = cv2.imread(im)
|
| 72 |
except:
|
| 73 |
label = "fail"
|
| 74 |
try:
|