Spaces:
Runtime error
Runtime error
Davidzhangyuanhan
commited on
Commit
•
d2d4aba
1
Parent(s):
4045676
Add application file
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def show_cam_on_image(img: np.ndarray,
|
|
73 |
# cam = cam / np.max(cam)
|
74 |
return np.uint8(255 * cam)
|
75 |
|
76 |
-
def recognize_image(image
|
77 |
img_t = eval_transforms(image)
|
78 |
|
79 |
# compute output
|
|
|
73 |
# cam = cam / np.max(cam)
|
74 |
return np.uint8(255 * cam)
|
75 |
|
76 |
+
def recognize_image(image):
|
77 |
img_t = eval_transforms(image)
|
78 |
|
79 |
# compute output
|