Update README.md
Browse files
README.md
CHANGED
|
@@ -28,7 +28,7 @@ from diffusers import AutoPipelineForText2Image
|
|
| 28 |
import torch
|
| 29 |
|
| 30 |
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
| 31 |
-
pipeline.load_lora_weights('Tzktz/user-model-flux', weight_name='
|
| 32 |
image = pipeline('your prompt').images[0]
|
| 33 |
```
|
| 34 |
|
|
|
|
| 28 |
import torch
|
| 29 |
|
| 30 |
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
| 31 |
+
pipeline.load_lora_weights('Tzktz/user-model-flux', weight_name='flux_train_codeplug.safetensors')
|
| 32 |
image = pipeline('your prompt').images[0]
|
| 33 |
```
|
| 34 |
|