Files changed (1) hide show
  1. pipe1.py +5 -0
pipe1.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+
2
+ from transformers import pipeline
3
+ classifier = pipeline("sentiment-analysis")
4
+ res = classifier("I've been waiting for a HuggingFace course my whole life.")
5
+ print(res)