chamkank / flask-chatterbot

Simple boilerplate for ChatterBot using Flask
377 stars 263 forks source link

I can't deploy it into heroku #8

Closed dihiaselma closed 6 years ago

dihiaselma commented 6 years ago

Hello; I took your script, and I replace by the MangoDB as described. of course I have created a mongo DB Data base in (mLab). But when I deploy the app into heroku, it dosen't work the error I got is: english_bot.train("chatterbot.corpus.english") AttributeError: 'NoneType' object has no attribute 'add extra file'

how could I deploy it pliz?

Thaks

dihiaselma commented 6 years ago

but I have a small note to add: In my heroku account, I didnt' provide the credict card. (could this be the cause of the error)?

chamkank commented 6 years ago

Hi there,

It's either an issue with your code or with the deployment. To rule out if it's your code or not, can you run python app.py locally on your machine instead of on Heroku? Does it give you the same error?

dihiaselma commented 6 years ago

Hi, I fixed the problem , it work now. I had some issues in the code. that's all thanks

chamkank commented 6 years ago

Great to hear! :)