diff --git a/server.js b/server.js index 0ea9bb3..9c2ecee 100644 --- a/server.js +++ b/server.js @@ -52,6 +52,7 @@ function runPython() { if (pythonShouldRun) { process.stdout.write(' but another request arrive, so we will relaunch it\n'); pythonShouldRun = false; + pythonRunning = false; runPython(); } else { process.stdout.write('\n'); diff --git a/views/upload.pug b/views/upload.pug index 8ab8c3e..642de5f 100644 --- a/views/upload.pug +++ b/views/upload.pug @@ -33,6 +33,11 @@ block content | It may also contain more files, such as | binary files with neural network weights, or | such as other python modules. + p.content.has-text-justified + | Please, use as few modules as possible. The + | server won't have pygame or matplotlib, so + | importing those kind of modules in your AI + | will crash the script. p.content.has-text-justified | Please note that this archive must not | contain a directory, it must only contain the