ines / spacy-js

🎀 JavaScript API for spaCy with Python REST API

Home Page:https://spacy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error fetching data from API: http://localhost:8080

thomas-hervey opened this issue · comments

Unless I've set up the server incorrectly, it seems as though there's a bug accessing the server. Running python api/server.py loads the model and says that the server works, but running the example js code gives the error in the title. I've tried upgrading the pip packages to their latest versions, but this causes python api/server.py command to fail.

This might be a waitress error since the stack trace suggests
ERROR:waitress:Exception while serving /parse
...
TypeError: process_response() takes 4 positional arguments but 5 were given