From f1f433048cf3f1d38bbc1e06fbcd2c9742719990 Mon Sep 17 00:00:00 2001 From: Brett Kuprel Date: Fri, 1 Jul 2022 18:52:40 -0400 Subject: [PATCH] fix readme --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2f5561f..ef78f1b 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 -```zsh +```bash $ pip install min-dalle ``` @@ -19,12 +19,12 @@ $ pip install min-dalle Use the python script `image_from_text.py` to generate images from the command line. -```zsh +```bash $ python image_from_text.py --text='artificial intelligence' --seed=7 ``` ![Artificial Intelligence](examples/artificial_intelligence.png) -```zsh +```bash $ python image_from_text.py --text='court sketch of godzilla on trial' --mega ``` ![Godzilla Trial](examples/godzilla_on_trial.png) @@ -48,9 +48,10 @@ display(image) ![Avocado Armchair](examples/avocado_armchair.png) ```python -image = model.generate_image("trail cam footage of gollum eating watermelon", seed=1) +image = model.generate_image( + "trail cam footage of gollum eating watermelon", + seed=1 +) display(image) ``` -![Gollum Trailcam](examples/gollum_trailcam.png) - -Model parameters will be downloaded as needed to the directory specified. The models can also be manually downloaded [here](https://huggingface.co/kuprel/min-dalle/tree/main). \ No newline at end of file +![Gollum Trailcam](examples/gollum_trailcam.png) \ No newline at end of file