CM3Leon icon indicating copy to clipboard operation
CM3Leon copied to clipboard

Generate an image

Open zoyahammad opened this issue 2 months ago • 0 comments

The Readme describes a method to load the model but how can we actually use the model to generate an image using a given prompt?

Could you provide a code example?

prompt = "xxx"
image = model.generate(prompt)
image.save("xxx.png")

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

zoyahammad avatar Apr 18 '24 15:04 zoyahammad