feat: add local image enhancement and lossless mod assets
CI / frontend (push) Failing after 26s
CI / backend (push) Failing after 1m37s

This commit is contained in:
mrleo1nid committed 2026-10-25 21:41:45 +03:00
1 parent cc71050362
commit f7f7f5b1b3
29 files changed
+1495 -10

No files matched your search

+11
View File
@@ -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);
}
}