Edit README.md
Browse files
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-compressed-sr-x4-48', {
|
| 21 |
-
dtype: 'fp32', //
|
| 22 |
});
|
| 23 |
|
| 24 |
// Upscale an image
|
|
|
|
| 18 |
|
| 19 |
// Create image-to-image pipeline
|
| 20 |
const upscaler = await pipeline('image-to-image', 'Xenova/swin2SR-compressed-sr-x4-48', {
|
| 21 |
+
dtype: 'fp32', // Change this line to use the non-quantized version
|
| 22 |
});
|
| 23 |
|
| 24 |
// Upscale an image
|