style: oxfmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
16f5f3d1a3
commit
283b231c7a
@@ -192,9 +192,7 @@ export async function normalizeDfnModelBytes(
|
|||||||
throw new Error(
|
throw new Error(
|
||||||
`denoise: DeepFilterNet model is neither gzip nor tar (${u8.length} bytes)`,
|
`denoise: DeepFilterNet model is neither gzip nor tar (${u8.length} bytes)`,
|
||||||
);
|
);
|
||||||
const gz = new Response(u8).body!.pipeThrough(
|
const gz = new Response(u8).body!.pipeThrough(new CompressionStream("gzip"));
|
||||||
new CompressionStream("gzip"),
|
|
||||||
);
|
|
||||||
return new Response(gz).arrayBuffer();
|
return new Response(gz).arrayBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user