Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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):
|