update readme

main
Brett Kuprel 2 years ago
parent 2614a83f35
commit dc0d02a7a7
  1. 5
      README.md

5
README.md vendored

@ -17,6 +17,9 @@ $ pip install min-dalle
### Usage
#### Command Line
Use the python script `image_from_text.py` to generate images from the command line.
```bash
@ -29,6 +32,8 @@ $ python image_from_text.py --text='court sketch of godzilla on trial' --mega
```
![Godzilla Trial](examples/godzilla_on_trial.png)
#### Python
To load a model once and generate multiple times, first initialize `MinDalleTorch`
```python

Loading…
Cancel
Save