update readme

main
Brett Kuprel 2 years ago
parent 6ce60179ff
commit 2661074589
  1. 9
      README.md
  2. BIN
      examples/dali_walle.png

9
README.md vendored

@ -33,16 +33,9 @@ model = MinDalle(is_mega=True, models_root='./pretrained')
The required models will be downloaded to `models_root` if they are not already there. Once everything has finished initializing, call `generate_image` with some text and a seed as many times as you want.
```python
text = 'a comfy chair that looks like an avocado'
image = model.generate_image(text)
display(image)
```
<img src="https://github.com/kuprel/min-dalle/raw/main/examples/avocado_armchair.png" alt="drawing" width="200"/>
```python
text = 'Dali painting of WallE'
image = model.generate_image(text, seed=0, grid_size=3)
image = model.generate_image(text, seed=0, grid_size=4)
display(image)
```
<img src="https://github.com/kuprel/min-dalle/raw/main/examples/dali_walle.png" alt="drawing" width="300"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Loading…
Cancel
Save