Update README.md
Browse files
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/ahmetibissss_flux', 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('prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0', torch_dtype=torch.float16).to('cuda')
|
| 42 |
pipeline.load_lora_weights('codermert/ahmetibissss_flux', weight_name='lora.safetensors')
|
| 43 |
image = pipeline('your prompt').images[0]
|
| 44 |
```
|