Xenova HF Staff commited on
Commit
93dfc90
·
verified ·
1 Parent(s): ced171b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -18,7 +18,7 @@ import { pipeline } from '@huggingface/transformers';
18
 
19
  // Create image-to-image pipeline
20
  const upscaler = await pipeline('image-to-image', 'Xenova/swin2SR-classical-sr-x2-64', {
21
- dtype: 'fp32', // Change this line to use the quantized version
22
  });
23
 
24
  // Upscale an image
 
18
 
19
  // Create image-to-image pipeline
20
  const upscaler = await pipeline('image-to-image', 'Xenova/swin2SR-classical-sr-x2-64', {
21
+ dtype: 'fp32', // Options: 'fp32', 'fp16', 'q8', 'q4'
22
  });
23
 
24
  // Upscale an image