Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ from docx import Document
|
|
| 3 |
from transformers import pipeline
|
| 4 |
from langdetect import detect
|
| 5 |
import spacy
|
|
|
|
| 6 |
|
| 7 |
# Check if the spaCy model exists, if not, download it
|
| 8 |
model_name = "en_core_web_sm"
|
|
|
|
| 3 |
from transformers import pipeline
|
| 4 |
from langdetect import detect
|
| 5 |
import spacy
|
| 6 |
+
import os
|
| 7 |
|
| 8 |
# Check if the spaCy model exists, if not, download it
|
| 9 |
model_name = "en_core_web_sm"
|