Spaces:
Runtime error
Runtime error
Commit
·
5ddf05e
1
Parent(s):
99f86a4
Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ def check_card(img):
|
|
18 |
explanation = explainer.explain_instance(
|
19 |
np.array(img),
|
20 |
classifier_fn=classify_cards,
|
21 |
-
labels=['
|
22 |
-
num_samples=
|
23 |
random_seed=42,
|
24 |
)
|
25 |
|
|
|
18 |
explanation = explainer.explain_instance(
|
19 |
np.array(img),
|
20 |
classifier_fn=classify_cards,
|
21 |
+
labels=['0', '1'],
|
22 |
+
num_samples=1000,
|
23 |
random_seed=42,
|
24 |
)
|
25 |
|