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 657 Bytes
-
https://huggingface.co/Saad381/SpectraGen/resolve/refs%2Fpr%2F2/README.md
- Command line
-
hf download hf://Saad381/SpectraGen@refs/pr/2/README.md
-
curl -L -o README.md https://huggingface.co/Saad381/SpectraGen/resolve/refs%2Fpr%2F2/README.md
657 Bytes
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - text: "ASCII\0\0\0A egmid photographer on a city street with a camera, capturing a moment in motion, extremely detailed, High quality, detailed face" | |
| output: | |
| url: images/25452979.jpeg | |
| - text: Dragon ball z | |
| output: | |
| url: images/example_al6a30ro4.png | |
| - text: Naruto | |
| output: | |
| url: images/example_g3t230v45.png | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: null | |
| # SpectraGen | |
| <Gallery /> | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/Saad381/SpectraGen/tree/main) them in the Files & versions tab. | |