URL.revokeObjectURL(img.src);
			ctx.drawImage(img, 0, 0, 224, 224);
			const data = ctx.getImageData(0, 0, 224, 224).data;
			runNet(data)
		};
		img.src = resource;
	}

	const loadLet = async () => {
		try {
			resultText.innerHTML = "loading..."
			labels = await getLabels();
			const device = await getDevice();
			const model = (await import("../../net.js")).default;
			net = await timer(() => model.load(device, '../../net.safetensors'), "(compilation)");
			resultText.innerHTML = "ready"
		} catch (e) 