phiph commited on
Commit
dc4763f
·
verified ·
1 Parent(s): 4898509

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +0 -2
script.js CHANGED
@@ -27,7 +27,6 @@ async function init() {
27
  depth_estimator = await pipeline('depth-estimation', MODEL_ID, {
28
  device: 'webgpu',
29
  dtype: 'fp32', // Important: Model is FP32
30
- quantized: false
31
  });
32
 
33
  statusElement.textContent = 'Model loaded. Ready.';
@@ -41,7 +40,6 @@ async function init() {
41
  depth_estimator = await pipeline('depth-estimation', MODEL_ID, {
42
  device: 'wasm',
43
  dtype: 'fp32',
44
- quantized: false
45
  });
46
  statusElement.textContent = 'Model loaded (WASM). Ready.';
47
  runBtn.disabled = false;
 
27
  depth_estimator = await pipeline('depth-estimation', MODEL_ID, {
28
  device: 'webgpu',
29
  dtype: 'fp32', // Important: Model is FP32
 
30
  });
31
 
32
  statusElement.textContent = 'Model loaded. Ready.';
 
40
  depth_estimator = await pipeline('depth-estimation', MODEL_ID, {
41
  device: 'wasm',
42
  dtype: 'fp32',
 
43
  });
44
  statusElement.textContent = 'Model loaded (WASM). Ready.';
45
  runBtn.disabled = false;