Spaces:
Runtime error
Runtime error
davidrd123
commited on
Commit
•
b617f68
1
Parent(s):
95bc353
added images to gallery
Browse files- Image01.jpg +0 -0
- Image10.jpg +0 -0
- Image11.jpg +0 -0
- app.py +1 -1
Image01.jpg
CHANGED
Image10.jpg
ADDED
Image11.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='shap'
|
15 |
title = "Art Movement Classifier - WikiArt"
|
16 |
description = "<b>What Art Movement Matches the Image Best?</b>"
|
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(12)]
|
14 |
interpretation='shap'
|
15 |
title = "Art Movement Classifier - WikiArt"
|
16 |
description = "<b>What Art Movement Matches the Image Best?</b>"
|