psyferpunk commited on
Commit
e1022b9
1 Parent(s): 8abd144

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from transformers import pipeline
2
+
3
+ classifier = pipeline("sentiment-analysis")
4
+ classifier(
5
+ [
6
+ "I've been waiting for a HuggingFace course my whole life.",
7
+ "I hate this so much!",
8
+ ]
9
+ )