update readme

This commit is contained in:
Brett Kuprel 2022-07-01 20:25:49 -04:00
parent 2c9d19e1b7
commit 9cbaa83b05

2
README.md vendored
View File

@ -30,7 +30,7 @@ from min_dalle import MinDalle
model = MinDalle(is_mega=True, models_root='./pretrained') model = MinDalle(is_mega=True, models_root='./pretrained')
``` ```
The required models will be downloaded to `models_root` if they are not already there. After the model has loaded, call `generate_image` with some text and a seed as many times as you want. 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 ```python
text = "a comfy chair that looks like an avocado" text = "a comfy chair that looks like an avocado"