Instructions to use ByteDance/ContentV-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ByteDance/ContentV-8B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ByteDance/ContentV-8B", 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
|
@@ -10,7 +10,7 @@ library_name: diffusers
|
|
| 10 |
<p align="center">
|
| 11 |
<a href="https://contentv.github.io">
|
| 12 |
<img
|
| 13 |
-
src="https://img.shields.io/badge/
|
| 14 |
alt="Project Page"
|
| 15 |
/>
|
| 16 |
</a>
|
|
|
|
| 10 |
<p align="center">
|
| 11 |
<a href="https://contentv.github.io">
|
| 12 |
<img
|
| 13 |
+
src="https://img.shields.io/badge/Gallery-Project Page-0A66C2?logo=googlechrome&logoColor=blue"
|
| 14 |
alt="Project Page"
|
| 15 |
/>
|
| 16 |
</a>
|