Refactor code structure for improved readability and maintainability

This commit is contained in:
Harvey Zhao committed 2026-03-07 21:07:48 +08:00
1 parent 9f5070b523
commit dc850dd2d2
22 files changed
+2 -1026

No files matched your search

+2 -2
View File
@@ -637,8 +637,8 @@
// Create a configurable Upscaler instance
const upscaler = new Upscaler({
networkSize: "medium",
weightsBaseUrl: "/assets/websr/weights",
workerUrl: "/assets/websr/worker/main.js",
weightsBaseUrl: "/upscaler/weights",
workerUrl: "/upscaler/worker/main.js",
});
function updateComparisonPosition(element, rect, x) {