Relative Content

Tag Archive for pythonandroidapideploymentmodel

How to deploy a custom ner model as api?

I created a custom ner model using spacy and used fastapi to process texts. It works on the local machine, but had problems on loading the model [spacy.load()] even though the folder for the model is in the same directory when trying to deploy the app. what must be the correct setup to deploy it? or do you have a step-by-step guide on how to deploy it?