title: in python , How to load just one time a ML model in a rest service like django or flask?
body: <p>I have a ML model saved in a pkl (pickel file),  I have no problem loading this model and using it for prediction, even I have a rest service that expose it, the only problem is that I load the model in every request, something like this:</p>
  
  <p><a href="https://www.analyticsvidhya.com/blog/2017/09/machine-learning-models-as-apis-using-flask/" rel="noreferrer">https://www.analyticsvidhya.com/blog/2017/09/machine-learning-models-as-apis-using-flask/</a></p>
  
  <p>I really want that my model just load one time like a global variable and every request useing this variable without the necessity of  load the model every request</p>
  
  <p>is it possible?</p>