Spaces:
Sleeping
Sleeping
debugging
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ categories = learn.dls.vocab
|
|
7 |
|
8 |
def classify_image(img):
|
9 |
logging.warning('Watch out!') # will print a message to the console
|
10 |
-
print('Classifying ')
|
11 |
pred,idx,probs = learn.predict(img)
|
12 |
return( dict(zip(categories, map(float,probs))))
|
13 |
|
|
|
7 |
|
8 |
def classify_image(img):
|
9 |
logging.warning('Watch out!') # will print a message to the console
|
10 |
+
print('Classifying: ', img)
|
11 |
pred,idx,probs = learn.predict(img)
|
12 |
return( dict(zip(categories, map(float,probs))))
|
13 |
|