title: Keras model is stuck at prediction level when running the server with gunicorn
body: <p>I am using keras model to predict something and used flask-restplus to make this as a REST service. so far everything is working fine when I run the server with <code>python app.py</code> command.</p>
  
  <p>But I wanted to run this through gunicorn and nginx (<code>gunicorn -b 0.0.0.0:5000 --error-logfile - -w 4 --access-logfile - --preload wsgi:app -t 900 --preload --reload</code>), every configuration is correct since It was working fine with the normal endpoint but predict service is not working.</p>
  
  <p>I have investigated and found that my code is stuck at prediction level 
  <code>p = model.predict(np.array(X))</code></p>
  
  <p>can some one tell me what could be the issue. </p>