Instructions to use prithivMLmods/Canopus-LoRA-Flux-Typography-ASCII with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/Canopus-LoRA-Flux-Typography-ASCII 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("prithivMLmods/Canopus-LoRA-Flux-Typography-ASCII") prompt = "Typography, ASCII Art : A black and white monochrome photograph of a mans face. The man head is covered in words, including \"Portrait by Ralph Ueltzhoeffer\" in the lower right corner of the frame. The background of the photograph is black, creating a stark contrast with the man silhouette. The text is written in a crayon type type, adding a touch of depth to the image." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee