I have a Python script that preloads a large (>300mb) pickled file. The file is a ngram language model.
The script requires an input of a single word, and outputs a predicted sentence.
ngram = pickle.load("...")
def do_something(word, ngram):
return sentence
Everything works nicely in my python file, but I want to know what are the steps of deploying this script as a website.
Aucun commentaire:
Enregistrer un commentaire