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:
- 379ad20852e78fb10d0e613ebb8e068e9772174f9c964f2fbccc1d7b4730d881
- Size of remote file:
- 492 MB
- SHA256:
- 9e1331e0172e49cd7c3c906d6424f264f2c8248b723fbfc502e699ff3bc06257
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.