Spaces:
Sleeping
Sleeping
Update model v3: 10 classes
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def handle_classify(image=None):
|
|
23 |
|
24 |
print(top5)
|
25 |
|
26 |
-
return "\n".join(['{:<16}:{:>8.2f}'.format(row[0], row[1]) for row in top5])
|
27 |
|
28 |
|
29 |
inputs = [
|
|
|
23 |
|
24 |
print(top5)
|
25 |
|
26 |
+
return "\n".join(['{:<16}:{:>8.2f}'.format(row[0], float(row[1])) for row in top5])
|
27 |
|
28 |
|
29 |
inputs = [
|