ser4ff commited on
Commit
41defe7
·
1 Parent(s): e42a657

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def adr_predict(x):
62
  # shap.plots.text(shap_values[label_1_index][0])
63
 
64
 
65
- local_plot = shap.plots.text(shap_values[0], display=False)
66
 
67
  # med = med_score(classifier(x+str(", There is a medication."))[0])
68
  # sym = sym_score(classifier(x+str(", There is a symptom."))[0])
 
62
  # shap.plots.text(shap_values[label_1_index][0])
63
 
64
 
65
+ local_plot = shap.plots.text(shap_values[0], display=False, color="RdBu")
66
 
67
  # med = med_score(classifier(x+str(", There is a medication."))[0])
68
  # sym = sym_score(classifier(x+str(", There is a symptom."))[0])