Update README.md
Browse files
README.md
CHANGED
@@ -60,9 +60,9 @@ for index, item in enumerate(output):
|
|
60 |
from diffusers import AutoPipelineForText2Image
|
61 |
import torch
|
62 |
|
63 |
-
pipeline = AutoPipelineForText2Image.from_pretrained('
|
64 |
pipeline.load_lora_weights('codermert/bahar_fluxxxxxx', weight_name='lora.safetensors')
|
65 |
-
image = pipeline('
|
66 |
```
|
67 |
|
68 |
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
|
|
60 |
from diffusers import AutoPipelineForText2Image
|
61 |
import torch
|
62 |
|
63 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0', torch_dtype=torch.float16).to('cuda')
|
64 |
pipeline.load_lora_weights('codermert/bahar_fluxxxxxx', weight_name='lora.safetensors')
|
65 |
+
image = pipeline('your prompt').images[0]
|
66 |
```
|
67 |
|
68 |
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|