Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import subprocess
|
|
| 7 |
subprocess.run(["python", "-m", "spacy", "download", "en_core_web_lg"])
|
| 8 |
|
| 9 |
# Load the glinter-spacy model
|
| 10 |
-
nlp = spacy.load("
|
| 11 |
|
| 12 |
# Initialize the PhraseMatcher with the shared vocab
|
| 13 |
matcher = Matcher(nlp.vocab)
|
|
|
|
| 7 |
subprocess.run(["python", "-m", "spacy", "download", "en_core_web_lg"])
|
| 8 |
|
| 9 |
# Load the glinter-spacy model
|
| 10 |
+
nlp = spacy.load("en_core_web_lg")
|
| 11 |
|
| 12 |
# Initialize the PhraseMatcher with the shared vocab
|
| 13 |
matcher = Matcher(nlp.vocab)
|