Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

669 B
Raw Blame
# TODO: Should these exceptions subclass existing python exceptions?
class ModelImageFileNotFoundException(Exception):
    """Raised when an image file is not found in storage."""

    def __init__(self, message="Model image file not found"):
        super().__init__(message)


class ModelImageFileSaveException(Exception):
    """Raised when an image cannot be saved."""

    def __init__(self, message="Model image file not saved"):
        super().__init__(message)


class ModelImageFileDeleteException(Exception):
    """Raised when an image cannot be deleted."""

    def __init__(self, message="Model image file not deleted"):
        super().__init__(message)