mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(erase-object): optional high-quality diffusion inpainting bundle (#566)
Adds an opt-in High Quality mode to the Object Eraser, backed by a new inpaint-hq feature bundle (Stable Diffusion 1.5 inpainting via diffusers). The default fast LaMa path is unchanged. Both arch archives are published to deepsafe/feature-bundles and the manifest carries their real sha256/sizes. Verified end to end: a fresh container pulls the bundle from HuggingFace, checksum-verifies it, extracts torch/diffusers plus the fp16 model, and the HQ sidecar erases a large object with a plausible fill. Refs #141
This commit is contained in:
@@ -129,12 +129,13 @@ test.describe("Feature listing baseline", () => {
|
||||
const res = await request.get(`${API}/api/v1/features`, { headers });
|
||||
expect(res.ok()).toBeTruthy();
|
||||
const data = (await res.json()) as FeatureResponse;
|
||||
expect(data.bundles).toHaveLength(7);
|
||||
expect(data.bundles).toHaveLength(8);
|
||||
|
||||
const expectedIds = [
|
||||
"background-removal",
|
||||
"face-detection",
|
||||
"object-eraser-colorize",
|
||||
"inpaint-hq",
|
||||
"upscale-enhance",
|
||||
"photo-restoration",
|
||||
"ocr",
|
||||
|
||||
Reference in New Issue
Block a user