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:
@@ -48,12 +48,13 @@ test.describe("Feature API", () => {
|
||||
});
|
||||
expect(response.ok()).toBeTruthy();
|
||||
const data = (await response.json()) as { bundles: BundleInfo[] };
|
||||
expect(data.bundles).toHaveLength(7);
|
||||
expect(data.bundles).toHaveLength(8);
|
||||
|
||||
const expectedBundles = [
|
||||
"background-removal",
|
||||
"face-detection",
|
||||
"object-eraser-colorize",
|
||||
"inpaint-hq",
|
||||
"upscale-enhance",
|
||||
"photo-restoration",
|
||||
"ocr",
|
||||
|
||||
Reference in New Issue
Block a user