Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,5 @@
|
|
1 |
import os
|
2 |
|
3 |
-
os.system("pip install transformers")
|
4 |
-
os.system("pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117")
|
5 |
-
|
6 |
import transformers
|
7 |
from transformers import pipeline
|
8 |
from transformers.pipelines.token_classification import TokenClassificationPipeline
|
|
|
1 |
import os
|
2 |
|
|
|
|
|
|
|
3 |
import transformers
|
4 |
from transformers import pipeline
|
5 |
from transformers.pipelines.token_classification import TokenClassificationPipeline
|