Spaces:
Runtime error
Runtime error
vmandava18
commited on
Commit
•
e9b4f4d
1
Parent(s):
5f26f92
Updat
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import os
|
|
2 |
os.system("python -m pip install --upgrade pip")
|
3 |
os.system("pip install transformers torch spacy")
|
4 |
os.system("pip install gradio==3.0.18")
|
|
|
5 |
from transformers import pipeline, AutoTokenizer, AutoModelForSequenceClassification, AutoModelForTokenClassification
|
6 |
import gradio as gr
|
7 |
import spacy
|
|
|
2 |
os.system("python -m pip install --upgrade pip")
|
3 |
os.system("pip install transformers torch spacy")
|
4 |
os.system("pip install gradio==3.0.18")
|
5 |
+
os.system("python -m spacy download en_core_web_sm")
|
6 |
from transformers import pipeline, AutoTokenizer, AutoModelForSequenceClassification, AutoModelForTokenClassification
|
7 |
import gradio as gr
|
8 |
import spacy
|