Spaces:
Runtime error
Runtime error
MohamedSherif
commited on
Commit
•
b289100
1
Parent(s):
a86a87c
Update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ class SkinCancer :
|
|
29 |
return model
|
30 |
|
31 |
def preprocess_image(self,img):
|
32 |
-
img = resize(img, (
|
33 |
-
img = img.reshape(1,
|
34 |
return img
|
35 |
|
36 |
def predict(self,img):
|
|
|
29 |
return model
|
30 |
|
31 |
def preprocess_image(self,img):
|
32 |
+
img = resize(img, (32,32))
|
33 |
+
img = img.reshape(1,32,32,3)
|
34 |
return img
|
35 |
|
36 |
def predict(self,img):
|