Instructions to use Xenova/4x_APISR_GRL_GAN_generator-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/4x_APISR_GRL_GAN_generator-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-to-image', 'Xenova/4x_APISR_GRL_GAN_generator-onnx');
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
{
|
| 2 |
-
"model_type": "
|
| 3 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "swin2sr"
|
| 3 |
}
|