Edward J. Schwartz commited on
Commit
80cb7e2
·
1 Parent(s): 3115532
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -123,8 +123,9 @@ with gr.Blocks() as demo:
123
  }
124
 
125
  def interpretation_function(text):
126
- print(text)
127
  print(text, file=sys.stderr)
 
 
128
  explainer = shap.Explainer(model.fn)
129
  shap_values = explainer([text])
130
 
 
123
  }
124
 
125
  def interpretation_function(text):
 
126
  print(text, file=sys.stderr)
127
+ what = model.fn(text)
128
+ print(what, file=sys.stderr)
129
  explainer = shap.Explainer(model.fn)
130
  shap_values = explainer([text])
131