Instructions to use codermert/dzjulia_flux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codermert/dzjulia_flux 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("codermert/dzjulia_flux") prompt = "DHANUSH" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files1 unmodified line23451 unmodified linelicense: otherlicense_name: flux-1-dev-non-commercial-licenselicense_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md---1 unmodified line23456789101112131415161718192021222324252627282930313233343536371 unmodified linelicense: otherlicense_name: flux-1-dev-non-commercial-licenselicense_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.mdlanguage:- entags:- flux- diffusers- lorabase_model: "black-forest-labs/FLUX.1-dev"pipeline_tag: text-to-imageinstance_prompt: DHANUSH---# Tugce_FluxTrained on Replicate using:https://replicate.com/ostris/flux-dev-lora-trainer/train## Trigger wordsYou should use `tugce` to trigger the image generation.## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)```pyfrom diffusers import AutoPipelineForText2Imageimport torchpipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.float16).to('cuda')pipeline.load_lora_weights('codermert/dzjulia_flux', weight_name='flux_train_replicate.safetensors')image = pipeline('your prompt').images[0]```For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
README.md+33-1