0

I have deployed my Flask App ( NLP model ) on Heroku. I was basically a price prediction model where some columns were in Japanese where I applied NLP + Nagisa Library for tokenization and some columns were numerical data. I pickled vectorizers and the model and Finally added them to my Flask API. But after deployment when I added the values in the frontend and clicked on Predict button, the result is not getting displayed. This is the exact error I am facing.

Code

The exact code of Tokenizer_jp is :

def tokenize_jp(doc):
        doc = nagisa.tagging(doc)
        return doc.words

I am not able to figure out how to fix this?

  • is this the same question as yours? [here](https://stackoverflow.com/questions/64831158/heroku-shows-application-errorh10-while-deploying-a-nlp-model) – Ameya Jul 02 '22 at 18:31
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Jul 03 '22 at 05:46

0 Answers0