localturk
localturk copied to clipboard
Mechanical Turk on your own machine.
I was getting a `PayloadTooLargeError` in certain cases. Per this [stackoverflow](https://stackoverflow.com/a/68189263/5712749) answer, I switched from body-parser to express. I have not run any extensive testing, but this did fix the...
Trying to run on Windows 10, with the latest version of Node (fresh install), I see a unhandled error event. ``` C:\Data>classify-images -o test.csv -l "ok,bad" Washington10.png Running localturk --static-dir...
 
The sample output.csv file is missing quotation marks for the line2 text.
The `localturk` binary has it but `classify-images` doesn't. Or perhaps all unrecognized flags to `classify-images` should get passed to `localturk`?
If you run something like: classify-images /Users/danvk/Downloads/images/*.jpg Then you'll get something like ``, which doesn't work. `classify-images` could be smart enough to serve the images from that directory.
If you inadvertently name an output field the same as an input field, it leads to the same record being served over and over. This could be flagged by localturk...
I've seen two lines get concatenated when this happens, which produces errors about incorrect numbers of fields.
e.g. ``
If you set `--static_dir .` and name your template file `index.html`, then localturk will serve your template without filling in the values. This is quite surprising! Better behavior would be...