Credit to danieldk (https://github.com/explosion/curated-transformers/pull/124) for the workaround this is based on.
added footer removed unused inpainting code