mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
12 lines
312 B
Python
12 lines
312 B
Python
|
from abc import ABC, abstractmethod
|
||
|
|
||
|
|
||
|
class NameServiceBase(ABC):
|
||
|
"""Low-level service responsible for naming resources (images, latents, etc)."""
|
||
|
|
||
|
# TODO: Add customizable naming schemes
|
||
|
@abstractmethod
|
||
|
def create_image_name(self) -> str:
|
||
|
"""Creates a name for an image."""
|
||
|
pass
|