Spaces:
Sleeping
Sleeping
anhtrandc
commited on
Commit
·
e4aa145
1
Parent(s):
d32fc1e
fix
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def classify_image(img):
|
|
43 |
return dict(zip(categories, map(float, probs)))
|
44 |
|
45 |
label = gr.Label()
|
46 |
-
examples = [o + '1.jpeg' for o in classes]
|
47 |
#shuffle examples
|
48 |
import random
|
49 |
random.shuffle(examples)
|
|
|
43 |
return dict(zip(categories, map(float, probs)))
|
44 |
|
45 |
label = gr.Label()
|
46 |
+
examples = [o + ' 1.jpeg' for o in classes]
|
47 |
#shuffle examples
|
48 |
import random
|
49 |
random.shuffle(examples)
|