We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc44ea0 commit 316d837Copy full SHA for 316d837
1 file changed
src/murfey/server/api/workflow_fib.py
@@ -108,10 +108,8 @@ async def make_gif(
108
)
109
continue
110
111
- if PIL.Image is not None:
112
- images = [PIL.Image.open(f) for f in gif_params.images]
113
- else:
114
- images = []
+ # Load the images as PIL Image objects
+ images = [PIL.Image.open(f) for f in gif_params.images]
115
for im in images:
116
im.thumbnail((512, 512))
117
0 commit comments