Spaces:
Runtime error
Runtime error
davidrd123
commited on
Commit
•
a61203d
1
Parent(s):
22a0172
updated app.py, changed image file order
Browse files- Image06.jpg +0 -0
- Image22.jpg +0 -0
- app.py +1 -1
Image06.jpg
CHANGED
Image22.jpg
ADDED
app.py
CHANGED
@@ -10,7 +10,7 @@ def predict(img):
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
-
examples = [f"Image{n:02d}.jpg" for n in range(
|
14 |
interpretation='default'
|
15 |
title = "Art Movement Classifier"
|
16 |
description = "What Art Movement Matches the Image Best? Expressionism | Impressionism | Hudson River School | Ukiyo-e | Pre-Raphaelite"
|
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
+
examples = [f"Image{n:02d}.jpg" for n in range(23)]
|
14 |
interpretation='default'
|
15 |
title = "Art Movement Classifier"
|
16 |
description = "What Art Movement Matches the Image Best? Expressionism | Impressionism | Hudson River School | Ukiyo-e | Pre-Raphaelite"
|