Update handler.py
Browse files- handler.py +3 -2
handler.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
import os
|
| 2 |
#os.system('pip install webvtt-py')
|
| 3 |
#os.system('pip install spacy')
|
| 4 |
-
os.system('
|
| 5 |
-
|
|
|
|
| 6 |
|
| 7 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 8 |
from simpletransformers.classification import ClassificationModel, ClassificationArgs
|
|
|
|
| 1 |
import os
|
| 2 |
#os.system('pip install webvtt-py')
|
| 3 |
#os.system('pip install spacy')
|
| 4 |
+
#os.system('python3 -m spacy download en_core_web_sm')
|
| 5 |
+
|
| 6 |
+
os.system('pip3 install -r requirements.txt')
|
| 7 |
|
| 8 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 9 |
from simpletransformers.classification import ClassificationModel, ClassificationArgs
|