From ec9e22e4d40666906f3fbd6a73a878789386e991 Mon Sep 17 00:00:00 2001 From: Brett Kuprel Date: Fri, 1 Jul 2022 18:32:48 -0400 Subject: [PATCH] code format --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0caf166..a7f7149 100644 --- a/README.md +++ b/README.md @@ -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(