diff --git a/services/nlp-services/applications/medcat/models/download_medmen.sh b/services/nlp-services/applications/medcat/models/download_medmen.sh index 5dd35511..43988cde 100644 --- a/services/nlp-services/applications/medcat/models/download_medmen.sh +++ b/services/nlp-services/applications/medcat/models/download_medmen.sh @@ -14,15 +14,15 @@ if [[ ! -f "$MODEL_CDB" || ! -f "$MODEL_VCB" ]]; then fi # download the model as described in the MedCAT repo - curl https://medcat.rosalind.kcl.ac.uk/media/vocab.dat > $MODEL_VCB - curl https://medcat.rosalind.kcl.ac.uk/media/cdb-medmen-v1_2.dat > $MODEL_CDB + curl https://cogstack-medcat-example-models.s3.eu-west-2.amazonaws.com/medcat-example-models/vocab.dat > $MODEL_VCB + curl https://cogstack-medcat-example-models.s3.eu-west-2.amazonaws.com/medcat-example-models/cdb-medmen-v1.dat > $MODEL_CDB else echo "MedMentions model already present -- skipping download" fi if [[ ! -d "$MODEL_META" ]]; then echo "Downloading meta model: status" - curl https://medcat.rosalind.kcl.ac.uk/media/mc_status.zip > $MEDMEN_DIR/mc_status.zip && \ + curl https://cogstack-medcat-example-models.s3.eu-west-2.amazonaws.com/medcat-example-models/mc_status.zip > $MEDMEN_DIR/mc_status.zip && \ (cd $MEDMEN_DIR && unzip mc_status.zip) && \ rm $MEDMEN_DIR/mc_status.zip else