Views
No views yet
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
with the ABAII logo. The logo features a stylized arrow design in shades of green and blue, with a pixelated effect on the green side. Below the logo, the text reads "ABAII" in bold black letters, followed by "Academy of Blockchain and AI Innovation" in smaller font.1from diffusers import DiffusionPipeline
2
3pipeline = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
4pipeline.load_lora_weights("dtthanh/abaii_v1", weight_name="abaii_v1.safetensors")
5pipeline.to("cuda")
6
7prompt = "A photo of a lady wearing a suit and inside a T-shirt with the small ABAII logo at her chest. The small logo features a stylized arrow design in shades of green and blue, with a pixelated effect on the green side. Below the logo, the text reads "ABAII" in bold black letters. The person is sitting at a wooden table, working on a laptop, with books and a notebook nearby. The background includes a bookshelf filled with CDs and a decorative wall."
8
9out = pipeline(
10 prompt=prompt,
11 guidance_scale=3.5,
12 num_inference_steps=20,
13 cross_attention_kwargs={"scale": 0.7}
14).images[0]
15
16out.save("abaiilogo.png")