Integrate a pre-trained model with a website

This is an experimental project.
I have saved a trained model(nmt) in my local machine. Now i have created some HTML webpage with some javascript. Now what I want is, the user inputs some data in my website and the website displays its equivalent translation. So for this purpose, i want to use my pre-trained model for the translation task. Is it achievable? if yes, how?

Have a look at Flask or Django to create a small web application. In this application you could load your model and process the user input.

Iā€™m by far not experienced in web development, but even I managed to setup a small (demo) web app using Flask. :wink:

1 Like