Instructions to use codermert/burcu_fluxx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use codermert/burcu_fluxx 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/burcu_fluxx") prompt = "TOK" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
#1
by 727272sjsjsjsjzzz - opened
README.md
CHANGED
|
@@ -38,7 +38,7 @@ You should use `TOK` to trigger the image generation.
|
|
| 38 |
from diffusers import AutoPipelineForText2Image
|
| 39 |
import torch
|
| 40 |
|
| 41 |
-
pipeline = AutoPipelineForText2Image.from_pretrained('
|
| 42 |
pipeline.load_lora_weights('codermert/burcu_fluxx', weight_name='lora.safetensors')
|
| 43 |
image = pipeline('your prompt').images[0]
|
| 44 |
```
|
|
|
|
| 38 |
from diffusers import AutoPipelineForText2Image
|
| 39 |
import torch
|
| 40 |
|
| 41 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('WiroAI/GTA6-style-flux-lora', torch_dtype=torch.float16).to('cuda')
|
| 42 |
pipeline.load_lora_weights('codermert/burcu_fluxx', weight_name='lora.safetensors')
|
| 43 |
image = pipeline('your prompt').images[0]
|
| 44 |
```
|