"500 Server error - issubclass() arg 1 must be a class" error on inference api

Hi! I’m working on my 4th year design project: resume parser (uses spacy NER and transformers pipeline to parse parts of a resume). I tried pushing my pipeline to hugging face using the readme from GitHub - explosion/spacy-huggingface-hub: 🤗 Push your spaCy pipelines to the Hugging Face Hub. I didn’t get any errors in the process until I tried using the inference api: issubclass() arg 1 must be a class.

I was wondering if anyone has seen this error before? Thanks in advance!

Edit: I get a 500 Server error: Internal Server error for this issubclass() arg 1 must be a class error.