Views
No views yet
pip install segmoe1from segmoe import SegMoEPipeline
2
3pipeline = SegMoEPipeline("RachidAR/AFlow-SegMoe-1Bx3-v0.1", device = "cuda", safety_checker = None)
4
5prompt = "cosmic canvas, orange city background, painting of a chubby cat"
6negative_prompt = "nsfw, bad quality, worse quality"
7img = pipeline(
8 prompt=prompt,
9 negative_prompt=negative_prompt,
10 height=1024,
11 width=1024,
12 num_inference_steps=25,
13 guidance_scale=7.5,
14).images[0]
15img.save("image.png")

