Spaces:
Sleeping
Sleeping
| from abc import ABC, abstractmethod | |
| from typing import List | |
| class ImageProvider(ABC): | |
| def generate_image(self, prompt: str, size: str = "1024x1024", n: int = 1) -> List[str]: | |
| """Return a list of base64-encoded PNGs.""" | |
| raise NotImplementedError | |