fix: 优化架构
This commit is contained in:
21
engine/adapters/image/stability_adapter.py
Normal file
21
engine/adapters/image/stability_adapter.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from engine.config import AppConfig
|
||||
|
||||
from .base import BaseImageGen
|
||||
|
||||
|
||||
class StabilityAdapter(BaseImageGen):
|
||||
"""
|
||||
Placeholder for Stability AI image generation.
|
||||
Add implementation + dependencies when needed.
|
||||
"""
|
||||
|
||||
def __init__(self, cfg: AppConfig):
|
||||
self.cfg = cfg
|
||||
|
||||
def generate(self, prompt: dict[str, str], output_dir: str | Path) -> str:
|
||||
raise NotImplementedError("StabilityAdapter not implemented yet")
|
||||
|
||||
Reference in New Issue
Block a user