Ghadjeres/DeepBach

AssertionError when running Flask

Closed this issue · 4 comments

When running Flask server after setting FALSK_APP, I got this error. Any ideas on how to handle this? Thanks a lot in advance.

screen shot 2018-01-25 at 3 02 52 pm

The problem comes from the fact that the server is unable to find the models.
See for instance the section on the import error issues and make sure you have models in the models/ dir.

I modified a path in plugin_flask_server.py and got it work. Thanks again!