Spaces:
Runtime error
Runtime error
Commit
·
1d2ee6b
1
Parent(s):
f091eea
changed interpretation to shap
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def 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(10)]
|
14 |
-
interpretation='
|
15 |
title = "Art Movement Classifier - WikiArt"
|
16 |
description = "What Art Movement Matches the Image Best?"
|
17 |
|
|
|
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(10)]
|
14 |
+
interpretation='shap'
|
15 |
title = "Art Movement Classifier - WikiArt"
|
16 |
description = "What Art Movement Matches the Image Best?"
|
17 |
|