Instructions to use haoningwu/StoryGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use haoningwu/StoryGen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("haoningwu/StoryGen", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f0f0b9954aa2951f095cc8eb1f4a63afa89a75622c25bf0cdedbd1b9eea04022
- Size of remote file:
- 3.64 GB
- SHA256:
- f2304a6282a44fb2e0db68e101a9dae5f0a8e96966810aebafa4ef08ce27c270
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.