From dccce8785feed2f72fc9ad557d90ae5063dd881f Mon Sep 17 00:00:00 2001 From: Brett Kuprel Date: Tue, 5 Jul 2022 07:50:56 -0400 Subject: [PATCH] update readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3ccbe65..5b3597f 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,13 @@ image = model.generate_image( grid_size=4, log2_supercondition_factor=3 ) + display(image) ``` min-dalle +### Interactive + If the model is being used interactively (e.g. in a notebook) `generate_image_stream` can be used to generate a stream of images as the model is decoding. The detokenizer adds a slight delay for each image. Setting `log2_mid_count` to 3 results in a total of `2 ** 3 = 8` generated images. The only valid values for `log2_mid_count` are 0, 1, 2, 3, 4. ```python