feat: add local image enhancement and lossless mod assets
This commit is contained in:
1 parent
cc71050362
commit
f7f7f5b1b3
29 files changed
+1495
-10
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import type { Preset } from "../presets";
|
||||
import { SwarmBackend } from "./swarm";
|
||||
import { A1111Backend } from "./a1111";
|
||||
import { ComfyBackend } from "./comfy";
|
||||
export function backend(p: Preset) {
|
||||
switch (p.backend) {
|
||||
case "swarm": return new SwarmBackend(p.url);
|
||||
case "a1111": return new A1111Backend(p.url);
|
||||
case "comfy": return new ComfyBackend(p.url);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user