Instructions to use Texttra/BhoriKontext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Texttra/BhoriKontext with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Texttra/BhoriKontext") prompt = "-" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Commit History
-
Update handler.py
Verified signaturea888645 -
Update handler.py
Verified signature4488911 -
Update handler.py
Verified signaturef4cc8cc -
Upload Bh0r12.safetensors
Verified signature8db5813
-
Update handler.py
Verified signaturead5c32f -
Update handler.py
Verified signature2f69dee -
Update handler.py
Verified signature8664ea6 -
Update handler.py
Verified signature8c6f21d
-
Updated requirements txt.
Verified signature8e0366a -
Update handler.py
Verified signature90eb4b1 -
Update handler.py
Verified signature9d77478 -
Update handler.py
Verified signaturef3f6b25 -
Update handler.py
Verified signaturea2bc943 -
Update handler.py
Verified signature905bc0d
-
Update handler.py
Verified signatured8adfd2 -
Update handler.py
Verified signatureeaf5244 -
Update handler.py
Verified signature17119de -
Update handler.py
Verified signature94b3b96 -
Update handler.py
Verified signaturede4914e -
Update handler.py
Verified signatureec2c1d4 -
Update handler.py
Verified signature6f92f77 -
Update handler.py
Verified signaturef08dfbf -
Update handler.py
Verified signature1aabf84 -
Update handler.py
Verified signature9e8b405 -
Create requirements.txt
Verified signature9217c48 -
Create handler.py
Verified signature4409dea -
Update README.md
Verified signature1c6f25b -
Add 3 files
Verified signatureec693e8 -
initial commit
Verified signatureed1beb3