Instructions to use jschoormans/flux-ic-render with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jschoormans/flux-ic-render 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("jschoormans/flux-ic-render") prompt = "[VIRTUALSTAGING] A before and after image of a kitchen. The same kitchen is shown before and after a complete makeover. [IMAGE1] The image showcases a dated kitchen with worn-out cabinets and appliances. The room has a small window above the sink, allowing limited natural light. The walls are covered in faded, floral wallpaper that gives the space a vintage feel. The kitchen features old-fashioned linoleum flooring in a yellow and green checkered pattern. A small table in the corner with two mismatched chairs, and a calendar hangs on one of the walls. The overall color scheme is dominated by muted earth tones, creating a somewhat dull and outdated atmosphere. [IMAGE2] The image presents a sleek, modern kitchen with state-of-the-art appliances and custom cabinetry. The once-small window has been expanded into a large bay window, flooding the space with natural light. The walls are painted in a crisp white, accented by a bold, geometric-patterned backsplash in shades of blue and gray.The kitchen now features a large center island with bar seating, perfect for casual dining or food preparation. Pendant lights hang above the island, adding both style and functionality. A smart refrigerator can be seen, along with other high-tech appliances. The overall atmosphere of the kitchen is bright, spacious, and inviting, with a modern color palette of white, gray, and blue." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K
- .ipynb_checkpoints
- 119 kB
- 132 kB
- 115 kB
- 76 kB
- 69.8 kB
- 59 kB
- 52.6 kB
- 48.5 kB
- 67.7 kB
- 149 kB
- 71.4 kB
- 57.5 kB
- 53 kB
- 48.6 kB
- 68.6 kB
- 150 kB
- 70.2 kB
- 56.8 kB
- 51.7 kB
- 47.7 kB
- 67.6 kB
- 150 kB
- 67.5 kB
- 58.4 kB
- 50.9 kB
- 47.6 kB
- 66.2 kB
- 151 kB
- 67.6 kB
- 59.1 kB
- 50.5 kB
- 46.3 kB
- 65.7 kB
- 151 kB
- 65.7 kB
- 57.8 kB
- 49.1 kB
- 45.5 kB
- 64 kB
- 152 kB
- 65 kB
- 58.5 kB
- 49.8 kB
- 45.8 kB
- 65.2 kB
- 152 kB
- 65 kB
- 56.8 kB
- 48.5 kB