Spaces:
Runtime error
Runtime error
davidrd123
commited on
Commit
•
22a0172
1
Parent(s):
921cfb8
updated app.py, changed image file order
Browse files- Image00.jpg +0 -0
- Image04.jpg +0 -0
- Image06.jpg +0 -0
- Image07.jpg +0 -0
- Image08.jpg +0 -0
- Image17.jpg +0 -0
- Image20.jpg +0 -0
- Image21.jpg +0 -0
- app.py +1 -1
Image00.jpg
CHANGED
Image04.jpg
CHANGED
Image06.jpg
CHANGED
Image07.jpg
CHANGED
Image08.jpg
CHANGED
Image17.jpg
CHANGED
Image20.jpg
ADDED
Image21.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(22)]
|
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"
|