Upload sentiment_skeleton.py
Browse files- sentiment_skeleton.py +5 -0
sentiment_skeleton.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers import pipeline
|
| 2 |
+
|
| 3 |
+
pipe = pipeline("sentiment-analysis")
|
| 4 |
+
|
| 5 |
+
print(pipe(input))
|