paragon-analytics commited on
Commit
4a73816
Β·
1 Parent(s): a2e20e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()], fixed_context=1)
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()