Spaces:
Runtime error
Runtime error
Edward J. Schwartz
commited on
Commit
·
0dfbf81
1
Parent(s):
db8ba99
debug
Browse files
app.py
CHANGED
|
@@ -122,6 +122,8 @@ with gr.Blocks() as demo:
|
|
| 122 |
}
|
| 123 |
|
| 124 |
def interpretation_function(text):
|
|
|
|
|
|
|
| 125 |
explainer = shap.Explainer(model.fn)
|
| 126 |
shap_values = explainer([text])
|
| 127 |
|
|
|
|
| 122 |
}
|
| 123 |
|
| 124 |
def interpretation_function(text):
|
| 125 |
+
print(text)
|
| 126 |
+
print(text, file=sys.stderr)
|
| 127 |
explainer = shap.Explainer(model.fn)
|
| 128 |
shap_values = explainer([text])
|
| 129 |
|