Deploying and Hosting a OpenNMT-py trained model

Hello Folks,

I have a saved NMT model ready with me and I want to deploy it using Heroku but the problem is “How to generate translations from loading a saved model into a python program while hosting it on a server”.

Please help me get this thing set up.

You may find the following posts helpful: