Spaces:
Sleeping
Sleeping
SalmanHabeeb
commited on
Commit
·
5996683
1
Parent(s):
b31f703
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ with open("list.dat", 'rb') as f:
|
|
36 |
model = load_learner("model.pkl")
|
37 |
|
38 |
def predict(img):
|
39 |
-
logging.warning(f"{type(
|
40 |
try:
|
41 |
logging.warning(f"Shape: {img.shape}")
|
42 |
except AttributeError:
|
|
|
36 |
model = load_learner("model.pkl")
|
37 |
|
38 |
def predict(img):
|
39 |
+
logging.warning(f"{type(img)}")
|
40 |
try:
|
41 |
logging.warning(f"Shape: {img.shape}")
|
42 |
except AttributeError:
|