Spaces:
Runtime error
Runtime error
paul hilders
commited on
Commit
·
e71dad4
1
Parent(s):
5fdfe77
Download en_core_web_sm with os.system
Browse files
app.py
CHANGED
|
@@ -9,6 +9,9 @@ import CLIP.clip as clip
|
|
| 9 |
|
| 10 |
import spacy
|
| 11 |
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
from clip_grounding.utils.image import pad_to_square
|
| 14 |
from clip_grounding.datasets.png import (
|
|
|
|
| 9 |
|
| 10 |
import spacy
|
| 11 |
|
| 12 |
+
import os
|
| 13 |
+
os.system('python -m spacy download en_core_web_sm')
|
| 14 |
+
|
| 15 |
|
| 16 |
from clip_grounding.utils.image import pad_to_square
|
| 17 |
from clip_grounding.datasets.png import (
|