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("Emuixom/MySelfEmil")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0] A newer version of this model is available: black-forest-labs/FLUX.1-dev
Emuixom/MySelfEmil - LoRA Model
This repository contains a LoRA fine-tuned version of the base model black-forest-labs/FLUX.1-dev.
How to Use
Using the Inference API
You can use this model directly via the Hugging Face Inference API:
from diffusers import StableDiffusionPipeline
# Load pipeline with LoRA weights
pipe = StableDiffusionPipeline.from_pretrained("Emuixom/MySelfEmil", torch_dtype=torch.float16)
# Run inference
prompt = "Your descriptive prompt here"
image = pipe(prompt).images[0]
# Display the image
image.show()
- Downloads last month
- 5
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for Emuixom/MySelfEmil
Base model
black-forest-labs/FLUX.1-dev