Instructions to use Localsong/LocalSong with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Localsong/LocalSong with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Localsong/LocalSong", 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
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# LocalSong
|
| 2 |
|
| 3 |
LocalSong is an audio generation model focused on melodic instrumental music that uses tag-based conditioning to generate audio.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
# LocalSong
|
| 6 |
|
| 7 |
LocalSong is an audio generation model focused on melodic instrumental music that uses tag-based conditioning to generate audio.
|