File tree Expand file tree Collapse file tree 3 files changed +211
-501
lines changed Expand file tree Collapse file tree 3 files changed +211
-501
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ services:
25
25
named-entity-recognition :
26
26
image : goldnlp
27
27
working_dir : /opt/goldnlp/services/named-entity-recognition
28
- command : uvicorn api:app --host 0.0.0.0 --port 5000
28
+ command : >
29
+ bash -c "pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.1.0/en_core_web_md-3.1.0-py3-none-any.whl
30
+ && pip install https://github.com/goldenrecursion/golden-models/releases/download/en_funding_round_model-0.0.1/en_funding_round_model-0.0.1-py3-none-any.whl
31
+ && pip install https://github.com/goldenrecursion/golden-models/releases/download/en_ceo_model-0.0.1/en_ceo_model-0.0.1-py3-none-any.whl
32
+ && uvicorn api:app --host 0.0.0.0 --port 5000"
29
33
ports :
30
34
- 5000:5000
31
35
volumes :
You can’t perform that action at this time.
0 commit comments