mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 17:24:54 +00:00
Add BackgroundEngine to engines.
This commit is contained in:
@@ -7,6 +7,8 @@ from . import LLMEngine
|
||||
from . import CaptioningEngine
|
||||
from . import AssetsEngine
|
||||
from . import SettingsEngine
|
||||
from . import BackgroundEngine
|
||||
|
||||
|
||||
class EngineDict(TypedDict):
|
||||
classes: list[BaseEngine]
|
||||
@@ -19,7 +21,6 @@ ENGINES: dict[str, EngineDict] = {
|
||||
"multiple": False,
|
||||
"show_dropdown": False,
|
||||
},
|
||||
|
||||
"SimpleLLMEngine": {
|
||||
"classes": [LLMEngine.OpenaiLLMEngine, LLMEngine.AnthropicLLMEngine],
|
||||
"multiple": False,
|
||||
@@ -47,4 +48,8 @@ ENGINES: dict[str, EngineDict] = {
|
||||
"classes": [AssetsEngine.DallEAssetsEngine, NoneEngine],
|
||||
"multiple": True,
|
||||
},
|
||||
"BackgroundEngine": {
|
||||
"classes": [BackgroundEngine.SimpleBackgroundEngine, NoneEngine],
|
||||
"multiple": False,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user