From fee7636ce38bf7d74d9712eb9c0983ad8622e661 Mon Sep 17 00:00:00 2001 From: Brett Kuprel Date: Tue, 5 Jul 2022 07:21:15 -0400 Subject: [PATCH] update readme --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3901994..9bc4b10 100644 --- a/README.md +++ b/README.md @@ -32,46 +32,46 @@ from min_dalle import MinDalle model = MinDalle(is_mega=True, models_root='./pretrained') ``` -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. +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 as many times as you want. ```python text = 'Dali painting of WALL·E' -image = model.generate_image(text, seed=0, grid_size=4) +image = model.generate_image(text, grid_size=4) display(image) ``` min-dalle ```python text = 'Rusty Iron Man suit found abandoned in the woods being reclaimed by nature' -image = model.generate_image(text, seed=0, grid_size=3) +image = model.generate_image(text, grid_size=3) display(image) ``` min-dalle ```python text = 'court sketch of godzilla on trial' -image = model.generate_image(text, seed=6, grid_size=3) +image = model.generate_image(text, grid_size=3) display(image) ``` min-dalle ```python text = 'a funeral at Whole Foods' -image = model.generate_image(text, seed=10, grid_size=3) +image = model.generate_image(text, grid_size=3) display(image) ``` min-dalle ```python text = 'Jesus turning water into wine on Americas Got Talent' -image = model.generate_image(text, seed=2, grid_size=3) +image = model.generate_image(text, grid_size=3) display(image) ``` min-dalle ```python text = 'cctv footage of Yoda robbing a liquor store' -image = model.generate_image(text, seed=0, grid_size=3) +image = model.generate_image(text, grid_size=3) display(image) ``` min-dalle @@ -82,11 +82,11 @@ display(image) Use `image_from_text.py` to generate images from the command line. ```bash -$ python image_from_text.py --text='artificial intelligence' --no-mega --seed=7 +$ python image_from_text.py --text='artificial intelligence' --no-mega ``` min-dalle ```bash -$ python image_from_text.py --text='trail cam footage of gollum eating watermelon' --mega --seed=1 --grid-size=3 +$ python image_from_text.py --text='trail cam footage of gollum eating watermelon' --mega --grid-size=3 ``` min-dalle