I've got a model saved as a pkl through pickle (same behaviour when I tried to use joblib) It works fine locally, but when I try to load it on a Flask app here (pkl.load('filename')), I get:
tarfile.ReadError: file could not be opened successfully: - method gz: ReadError('not a gzip file') - method bz2: ReadError('not a bzip2 file') - method xz: ReadError('not an lzma file') - method tar: ReadError('invalid header')
Anyone seen this before/any ideas? Thanks in advance.