DD0101 commited on
Commit
26c56b4
1 Parent(s): 84268af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import os
3
  os.system("pip install transformers")
4
 
5
  import transformers
6
-
7
  from transformers.pipelines.token_classification import TokenClassificationPipeline
8
 
9
  class MyPipeline(TokenClassificationPipeline):
 
3
  os.system("pip install transformers")
4
 
5
  import transformers
6
+ from transformers import pipeline
7
  from transformers.pipelines.token_classification import TokenClassificationPipeline
8
 
9
  class MyPipeline(TokenClassificationPipeline):