Khrisna commited on
Commit
2ab2c8a
·
verified ·
1 Parent(s): a68658b

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -2
index.js CHANGED
@@ -510,8 +510,7 @@ async function upscaleImage(images) {
510
 
511
  // dispose the tensors!
512
  image.dispose();
513
- tensor.dispose();
514
- upscaledTensor.dispose();
515
 
516
  resolve(arrayBuffer);
517
  } catch (error) {
 
510
 
511
  // dispose the tensors!
512
  image.dispose();
513
+ tensor.dispose();;
 
514
 
515
  resolve(arrayBuffer);
516
  } catch (error) {