KyBen commited on
Commit
5eb2d52
·
1 Parent(s): 6484c57

Create Pipe1.py

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