using transformer-library v1.2.0; CORS enabled; better error messages