coolkrishds commited on
Commit
f4d4e26
·
1 Parent(s): d337075

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from transformer import pipeline
2
+
3
+ classifier = pipeline("sentiment-analysis")
4
+
5
+ res = classifier("I have been waiting for the transformer my whole life")
6
+ print(res)