code format
This commit is contained in:
parent
7b5d972914
commit
ec9e22e4d4
4
README.md
vendored
4
README.md
vendored
|
@ -11,7 +11,7 @@ The flax model, and the code for coverting it to torch, have been moved [here](h
|
|||
|
||||
### Install
|
||||
|
||||
```
|
||||
```bash
|
||||
$ pip install min-dalle
|
||||
```
|
||||
|
||||
|
@ -21,7 +21,7 @@ Use the python script `image_from_text.py` to generate images from the command l
|
|||
|
||||
To load a model once and generate multiple times, initialize `MinDalleTorch`, then call `generate_image` with some text and a seed.
|
||||
|
||||
```
|
||||
```python
|
||||
from min_dalle import MinDalleTorch
|
||||
|
||||
model = MinDalleTorch(
|
||||
|
|
Loading…
Reference in New Issue
Block a user