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