Custom Presidio Deployment - Azure App Service (Linux) #869
Unanswered
SanthoshPK
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @SanthoshPK, could you please provide more detail on what didn't work with the spaCy model installation? Is this where the issue is? Could it be an issue with spaCy itself? This is how we install the models within a Docker container: https://github.com/microsoft/presidio/blob/main/presidio-analyzer/install_nlp_models.py Perhaps you could re-use some of this in your installation ( |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All -
We have used Presidio analyser and ananymizer modules in one simple Python APP (With only 2 API methods - 1 for analyse and 2 for anonymize).
Installing dependencies with requirement.txt as below -
flask
presidio_analyzer
presidio_anonymizer
presidio_image_redactor
https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.2.0/en_core_web_lg-3.2.0.tar.gz#egg=en_core_web_lg==3.2.0 (This works but it disappears after some time)
Or used
python -m spacy download en_core_web_lg (This does not work )
also, We installed spacy model directly in Portal via SSH but still it installs and disappears .
In Azure - We have used B1 SKU with Python 3.9 stack for api deployment which becomes not accessible when related dependencies goes missing .
Please advise and any help will be appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions