Start by gunicorn, model.encode() stuck forever

#102
by andrewzheng1618 - opened

If start by flask run, model.encode() works well.

But if start by: gunicorn --bind=0.0.0.0 --timeout 600 app:app --workers=2 --preload, model.encode() stuck forever.

Sign up or log in to comment