flask-chatterbot icon indicating copy to clipboard operation
flask-chatterbot copied to clipboard

PythonAnywhere issue

Open montaser85 opened this issue 7 years ago • 3 comments

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?

montaser85 avatar Feb 28 '18 17:02 montaser85

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

chamkank avatar Feb 28 '18 20:02 chamkank

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.

sumitsg10 avatar Mar 18 '18 18:03 sumitsg10

@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).

engramar avatar Mar 22 '18 03:03 engramar