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
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ This repository contains the official checkpoints of StoryGen: https://arxiv.org
|
|
| 8 |
For code retails, please refer to our Github repository: [StoryGen Code](https://github.com/haoningwu3639/StoryGen)
|
| 9 |
|
| 10 |
## Some Information
|
| 11 |
-
[Project Page](https://haoningwu3639.github.io/StoryGen_Webpage/)
|
| 12 |
|
| 13 |
## Requirements
|
| 14 |
- Python >= 3.8 (Recommend to use [Anaconda](https://www.anaconda.com/download/#linux) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html))
|
|
|
|
| 8 |
For code retails, please refer to our Github repository: [StoryGen Code](https://github.com/haoningwu3639/StoryGen)
|
| 9 |
|
| 10 |
## Some Information
|
| 11 |
+
[Project Page](https://haoningwu3639.github.io/StoryGen_Webpage/) 路 [Paper](https://arxiv.org/abs/2306.00973/) 路 [Dataset](https://huggingface.co/datasets/haoningwu/StorySalon) 路 [Checkpoint](https://huggingface.co/haoningwu/StoryGen)
|
| 12 |
|
| 13 |
## Requirements
|
| 14 |
- Python >= 3.8 (Recommend to use [Anaconda](https://www.anaconda.com/download/#linux) or [Miniconda](https://docs.conda.io/en/latest/miniconda.html))
|