From 1e6016d0db2d0e57ed43a113d75c365681ead4d3 Mon Sep 17 00:00:00 2001 From: Qing Date: Sat, 25 Mar 2023 20:37:15 +0800 Subject: [PATCH] update gif --- lama_cleaner/plugins/gif.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lama_cleaner/plugins/gif.py b/lama_cleaner/plugins/gif.py index e901327..3f69901 100644 --- a/lama_cleaner/plugins/gif.py +++ b/lama_cleaner/plugins/gif.py @@ -98,7 +98,7 @@ def make_compare_gif( ) images.append(new_frame) - for i in range(10): + for i in range(30): images.append(src_img) cubic_bezier_points.reverse() @@ -117,8 +117,9 @@ def make_compare_gif( [(right, 0), (right, height)], width=splitter_width, fill=splitter_color ) images.append(new_frame) - - images.append(clean_img) + + for _ in range(30): + images.append(clean_img) img_byte_arr = io.BytesIO() clean_img.save(