Spaces:
Runtime error
Runtime error
Commit
•
82a5a6f
1
Parent(s):
a4502cf
Install shap
Browse files- app.py +1 -0
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
|
|
3 |
|
4 |
sentiment_classifier = pipeline("text-classification", return_all_scores=True)
|
5 |
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
+
import shap
|
4 |
|
5 |
sentiment_classifier = pipeline("text-classification", return_all_scores=True)
|
6 |
|
requirements.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
torch
|
2 |
-
transformers
|
|
|
|
1 |
torch
|
2 |
+
transformers
|
3 |
+
shap
|