Spaces:
Sleeping
Sleeping
Fix Spacy
Browse files- app.py +0 -2
- requirements.txt +1 -1
app.py
CHANGED
@@ -10,8 +10,6 @@ from huggingface_hub import hf_hub_download
|
|
10 |
from llama_cpp import Llama
|
11 |
import subprocess
|
12 |
|
13 |
-
subprocess.run(["python", "-m", "spacy", "download", "en_core_web_sm"], check=True)
|
14 |
-
|
15 |
|
16 |
"""**Original code**
|
17 |
|
|
|
10 |
from llama_cpp import Llama
|
11 |
import subprocess
|
12 |
|
|
|
|
|
13 |
|
14 |
"""**Original code**
|
15 |
|
requirements.txt
CHANGED
@@ -6,4 +6,4 @@ spacy
|
|
6 |
llama-cpp-python
|
7 |
numpy
|
8 |
huggingface_hub
|
9 |
-
|
|
|
6 |
llama-cpp-python
|
7 |
numpy
|
8 |
huggingface_hub
|
9 |
+
https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl
|