update readme

This commit is contained in:
Brett Kuprel 2022-07-05 07:49:00 -04:00
parent ba6080668f
commit 225a6e1388

5
README.md vendored
View File

@ -60,11 +60,8 @@ image_stream = model.generate_image_stream(
log2_supercondition_factor=3 log2_supercondition_factor=3
) )
is_first = True
for image in image_stream: for image in image_stream:
display_image = display if is_first else update_display display(image)
display_image(image, display_id=1)
is_first = False
``` ```
<img src="https://github.com/kuprel/min-dalle/raw/main/examples/dali_walle_animated.gif" alt="min-dalle" width="300"/> <img src="https://github.com/kuprel/min-dalle/raw/main/examples/dali_walle_animated.gif" alt="min-dalle" width="300"/>