soarhigh commited on
Commit
b62e1b9
·
1 Parent(s): 60aa3c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def shap(txt, tok_level):
18
  #tokens = nltk
19
  with torch.no_grad():
20
  y_pred = model(txt)
21
- return y_pred
22
 
23
  demo = gr.Interface(fn=shap,
24
  inputs=[
 
18
  #tokens = nltk
19
  with torch.no_grad():
20
  y_pred = model(txt)
21
+ return txt
22
 
23
  demo = gr.Interface(fn=shap,
24
  inputs=[