imenayadi commited on
Commit
05d67e3
1 Parent(s): 5207833
Files changed (2) hide show
  1. app.py +0 -2
  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
- ##TODO python -m spacy download en_core_web_sm
 
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