Instructions to use SurjoLabs/Surjo-Image-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SurjoLabs/Surjo-Image-Preview with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SurjoLabs/Surjo-Image-Preview", 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
Gated model You can list files but not access them
Preview of files found in this repository
- ckpts
- 6.33 kB
- 945 kB xet
- 819 kB xet
- 655 kB xet
- 665 kB xet
- 667 kB xet
- 731 kB xet
- 707 kB xet
- 675 kB xet
- 750 kB xet
- 736 kB xet
- 721 kB xet
- 792 kB xet
- 731 kB xet
- 707 kB xet
- 726 kB xet
- 752 kB xet
- 754 kB xet
- 800 kB xet
- 698 kB xet
- 719 kB xet
- 727 kB xet
- 701 kB xet
- 751 kB xet
- 677 kB xet
- 733 kB xet
- 734 kB xet
- 752 kB xet
- 721 kB xet
- 701 kB xet
- 744 kB xet
- 711 kB xet
- 704 kB xet
- 723 kB xet
- 767 kB xet
- 743 kB xet
- 731 kB xet
- 701 kB xet
- 685 kB xet
- 733 kB xet
- 747 kB xet
- 718 kB xet
- 742 kB xet
- 765 kB xet
- 733 kB xet
- 715 kB xet
- 777 kB xet
- 763 kB xet
- 731 kB xet