Instructions to use paralaif/MagicPrompt-Stable-Diffusion-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use paralaif/MagicPrompt-Stable-Diffusion-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'paralaif/MagicPrompt-Stable-Diffusion-ONNX');
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 50256, | |
| "eos_token_id": 50256, | |
| "transformers_version": "4.49.0" | |
| } | |