chamkank / flask-chatterbot

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

PythonAnywhere issue #12

Open montaser85 opened 6 years ago

montaser85 commented 6 years ago

I have deployed this in pythonAnywhere following the youtube video and it worked. But, when I tried to deploy after adding my own training dataset, it did not work. I have uploaded my dataset in a text file in the mybot folder and also uploaded the db.sqlite3 file in the same folder.It works fine on local host. Would you please help how I can deploy the app with my own dataset?

chamkank commented 6 years ago

Most likely a file path issue, can I see your code for app.py? The error log would help as well.

sumitsg10 commented 6 years ago

these are the some path issues for your code and these are the chek for code extenstions and save file for app.py the error are find and run your code.

engramar commented 6 years ago

@montaser85, I created a small app based on this project and deployed it in PythonAnywhere. See here -> http://www.chatbotfactory.com.au/. What I did is I deployed an empty bot in PythonAnywhere but added an option for the user to upload their own training data via web. See the code here. https://github.com/codesydney/chatr. The good thing about allowing the user to upload their data from their side is that they can keep their intellectual property(ie subject matter knowledge).