park minseo commited on
Commit
a1c697d
1 Parent(s): 068b9c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -2,4 +2,8 @@ text = """Dear Amazon, last week I ordered an Optimus Prime action figure from y
2
  Unfortunately, when I opened the package, I discovered to my horror that I had been sent an action figure of
3
  Megatron instead! As a lifelong enemy of the Deceptions, I hope you can understand my dilemma. To resolve the
4
  issue, I demand an exchange of Megatron for the Optimus Prime figure I ordered. Enclosed are copies of my
5
- records concerning this purchase. I expect to hear from you soon. Sincerely, Bumblebee."""
 
 
 
 
 
2
  Unfortunately, when I opened the package, I discovered to my horror that I had been sent an action figure of
3
  Megatron instead! As a lifelong enemy of the Deceptions, I hope you can understand my dilemma. To resolve the
4
  issue, I demand an exchange of Megatron for the Optimus Prime figure I ordered. Enclosed are copies of my
5
+ records concerning this purchase. I expect to hear from you soon. Sincerely, Bumblebee."""
6
+
7
+ from transformers import pipeline
8
+
9
+ classifier = pipeline("text-classification")