Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Merge fixes: eval cases follow the LoRA research, routeLoras on a route without a LoRA field

Claude5c278fe9a0bf
diff --git a/scripts/eval/cases/dop.json b/scripts/eval/cases/dop.json
index 15204cab..b388ff7d 100644
--- a/scripts/eval/cases/dop.json
+++ b/scripts/eval/cases/dop.json
@@ -560,26 +560,6 @@
"add-lora"
]
},
- {
- "id": "dop/motion-bts",
- "title": "DoP motion · BTS",
- "motion": "BTS",
- "presetId": "motion-bts",
- "inputs": {
- "images": [
- "local/dop/start.png"
- ]
- },
- "demoInputs": {
- "images": [
- "fixtures/start-frame.png"
- ]
- },
- "tags": [
- "motion",
- "add-lora"
- ]
- },
{
"id": "dop/motion-wiggle",
"title": "DoP motion · Wiggle",
diff --git a/tests/eval-api.test.ts b/tests/eval-api.test.ts
index f47fe458..f9c768db 100644
--- a/tests/eval-api.test.ts
+++ b/tests/eval-api.test.ts
@@ -119,14 +119,14 @@ describe("the preview says what the route runs", () => {
const hf = { file: "AWPortrait-Z.safetensors", url: "https://huggingface.co/Shakker-Labs/AWPortrait-Z/resolve/main/AWPortrait-Z.safetensors", strength: 0.6 };
const local = { file: "civitai-2463391-hardflash.safetensors", strength: 0.7, trigger: "hardflashy" };
- it("routeLoras: ComfyUI loads every file, fal's LoRA endpoint the ones with a URL, other routes none", () => {
+ it("routeLoras: ComfyUI loads every file, a cloud route with a LoRA field the ones with a URL, other routes none", () => {
expect(routeLoras({ provider: "comfyui" }, [hf, local])).toEqual({ applied: [hf, local], dropped: [] });
expect(routeLoras({ provider: "fal", loraEndpoint: "fal-ai/z-image/turbo/lora" }, [hf, local])).toEqual({
applied: [hf],
dropped: [{ file: local.file, reason: "no URL to send to the LoRA endpoint" }],
});
expect(routeLoras({ provider: "fal" }, [hf]).dropped).toEqual([{ file: hf.file, reason: "this route takes no LoRAs" }]);
- expect(routeLoras({ provider: "replicate", loraEndpoint: "x" }, [hf]).applied).toEqual([]);
+ expect(routeLoras({ provider: "replicate" }, [hf]).applied).toEqual([]);
});
it("returns the endpoint, the final prompt and the LoRAs on the open engine (demo mode, no ComfyUI here)", async () => {