Instructions to use kuprel/min-dalle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kuprel/min-dalle with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kuprel/min-dalle", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Error while converting to PIL format
#2
by aryan1107 - opened
As per instruction when I use: image_stream = image_stream.to('cpu').numpy()
I get this
AttributeError: 'generator' object has no attribute 'to'
You can call generate_images instead of generate_images_stream if you only want the final generated image. The stream returns an iterator which you can loop over to get the images, e.g. for image in image_stream
kuprel changed discussion status to closed