Instructions to use Saad381/SpectraGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Saad381/SpectraGen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Saad381/SpectraGen") prompt = "Goku" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from Saad381/SpectraGen: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/Saad381/SpectraGen/resolve/main/README.md
- Command line
-
hf download hf://Saad381/SpectraGen/README.md
-
curl -L -o README.md https://huggingface.co/Saad381/SpectraGen/resolve/main/README.md
1.16 kB
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - text: Goku | |
| output: | |
| url: images/example_zyhsu444m.png | |
| - text: Spiderman,extremely detailed, High quality, detailed face | |
| output: | |
| url: images/example_y471grfjx.png | |
| - text: Naruto | |
| output: | |
| url: images/example_3kjr9oish.png | |
| - text: Batman,extremely detailed, High quality | |
| output: | |
| url: images/example_7yty28oho.png | |
| - text: Captain America,extremely detailed, High quality | |
| output: | |
| url: images/example_pz0yhpf8b.png | |
| - text: Ironman,extremely detailed, High quality | |
| output: | |
| url: images/example_nx97269fw.png | |
| - text: Astronaut riding a horse | |
| output: | |
| url: images/example_k76aziqyk.png | |
| - text: Mountain with scenery | |
| output: | |
| url: images/example_qvqu8ugyj.png | |
| - text: power rangers | |
| output: | |
| url: images/example_41rmhfr0y.png | |
| - text: Wolverine | |
| output: | |
| url: images/example_y3k2blvwa.png | |
| instance_prompt: null | |
| base_model: | |
| - black-forest-labs/FLUX.1-dev | |
| # SpectraGen | |
| <Gallery /> | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/Saad381/SpectraGen/tree/main) them in the Files & versions tab. |