diff --git a/0716add-hair-api.json b/0716add-hair-api.json index ae723eb..1a36579 100644 --- a/0716add-hair-api.json +++ b/0716add-hair-api.json @@ -1,8 +1,8 @@ { "16": { - "class_type": "UNETLoader", + "class_type": "UnetLoaderGGUF", "inputs": { - "unet_name": "flux2.0/flux-2-klein-9b-fp8.safetensors", + "unet_name": "flux-2-klein-9b-Q4_K_M.gguf", "weight_dtype": "fp8_e4m3fn_fast" } }, diff --git a/add_hair.json b/add_hair.json index b9386fa..fdcab91 100644 --- a/add_hair.json +++ b/add_hair.json @@ -170,10 +170,10 @@ }, "16": { "inputs": { - "unet_name": "flux2.0/flux-2-klein-9b-fp8.safetensors", + "unet_name": "flux-2-klein-9b-Q4_K_M.gguf", "weight_dtype": "fp8_e4m3fn_fast" }, - "class_type": "UNETLoader", + "class_type": "UnetLoaderGGUF", "_meta": { "title": "UNet加载器" } diff --git a/hair_repaint.json b/hair_repaint.json index bd46388..55bfa8f 100644 --- a/hair_repaint.json +++ b/hair_repaint.json @@ -170,10 +170,10 @@ }, "16": { "inputs": { - "unet_name": "flux2.0/flux-2-klein-9b-fp8.safetensors", + "unet_name": "flux-2-klein-9b-Q4_K_M.gguf", "weight_dtype": "fp8_e4m3fn" }, - "class_type": "UNETLoader", + "class_type": "UnetLoaderGGUF", "_meta": { "title": "UNet加载器" } diff --git a/static/test_interface2.html b/static/test_interface2.html index aa6691d..ed23551 100644 --- a/static/test_interface2.html +++ b/static/test_interface2.html @@ -109,28 +109,6 @@ -
-
- - -
-
- - -
-
@@ -177,10 +155,6 @@ async function submitTest() { fd.append('hair_style', checked.join(',')); fd.append('use_mask', $('useMask').value); fd.append('prompt', $('promptInput').value); - const _model = $('fluxModel').value; - const _side = $('redrawMaxSide').value; - if (_model) fd.append('flux_model', _model); - if (_side !== '') fd.append('redraw_max_side', _side); const _reqStart = performance.now(); try { const r = await fetch(API_BASE + '/api/v1/hair/grow', { method:'POST', headers:{ 'X-Internal-Token': 'dev-shared-secret-2026' }, body:fd });