paragon-analytics commited on
Commit
b31b148
·
1 Parent(s): 7de9116

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -91,13 +91,13 @@ def adr_predict(x):
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
- local_plot = (
97
- ""
98
- + plot
99
- + ""
100
- )
101
 
102
  # plt.tight_layout()
103
  # local_plot = plt.gcf()
 
91
  # shap_scores = interpretation_function(str(x).lower())
92
 
93
  shap_values = explainer([str(x).lower()])
94
+ local_plot = shap.plots.text(shap_values[0], display=False)
95
 
96
+ # local_plot = (
97
+ # ""
98
+ # + plot
99
+ # + ""
100
+ # )
101
 
102
  # plt.tight_layout()
103
  # local_plot = plt.gcf()