Update README.md
Browse files
README.md
CHANGED
@@ -61,7 +61,7 @@ You should use `RCA style` or/and `MAYAK style or/and `Neurealist textographic p
|
|
61 |
from diffusers import AutoPipelineForText2Image
|
62 |
import torch
|
63 |
|
64 |
-
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-
|
65 |
pipeline.load_lora_weights('AlekseyCalvin/Neureal_Agit', weight_name='lora.safetensors')
|
66 |
image = pipeline('your prompt').images[0]
|
67 |
```
|
|
|
61 |
from diffusers import AutoPipelineForText2Image
|
62 |
import torch
|
63 |
|
64 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
|
65 |
pipeline.load_lora_weights('AlekseyCalvin/Neureal_Agit', weight_name='lora.safetensors')
|
66 |
image = pipeline('your prompt').images[0]
|
67 |
```
|