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');
File size: 119 Bytes
63294d0 | 1 2 3 4 5 6 7 | {
"_from_model_config": true,
"bos_token_id": 50256,
"eos_token_id": 50256,
"transformers_version": "4.49.0"
}
|