Spaces:
Runtime error
Runtime error
paragon-analytics
commited on
Commit
Β·
4a73816
1
Parent(s):
a2e20e9
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def adr_predict(x):
|
|
90 |
|
91 |
# shap_scores = interpretation_function(str(x).lower())
|
92 |
|
93 |
-
shap_values = explainer([str(x).lower()]
|
94 |
plot = shap.plots.text(shap_values[0], display=False)
|
95 |
|
96 |
plt.tight_layout()
|
|
|
90 |
|
91 |
# shap_scores = interpretation_function(str(x).lower())
|
92 |
|
93 |
+
shap_values = explainer([str(x).lower()])
|
94 |
plot = shap.plots.text(shap_values[0], display=False)
|
95 |
|
96 |
plt.tight_layout()
|