Spaces:
Running
Running
Commit ·
6e2bfd4
1
Parent(s): 4e12997
First fix didn't work
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -20,6 +20,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 20 |
# This ensures it gets the exact file without guessing the version
|
| 21 |
RUN pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1.tar.gz
|
| 22 |
|
|
|
|
| 23 |
|
| 24 |
COPY . .
|
| 25 |
|
|
|
|
| 20 |
# This ensures it gets the exact file without guessing the version
|
| 21 |
RUN pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1.tar.gz
|
| 22 |
|
| 23 |
+
RUN python -c "from fast_gliner import FastGLiNER; FastGLiNER.from_pretrained('Xenova/gliner-small-v2.1')"
|
| 24 |
|
| 25 |
COPY . .
|
| 26 |
|