Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
006bb0b
1
Parent(s):
332867e
Update app.py
Browse files
app.py
CHANGED
@@ -195,12 +195,8 @@ def create_zoom_animation(previous_frame, next_frame, steps):
|
|
195 |
# Resize to 512x512
|
196 |
resized_prev = cropped_prev.resize((512, 512), Image.LANCZOS)
|
197 |
|
198 |
-
|
199 |
-
|
200 |
-
resized_frame = resized_prev
|
201 |
-
|
202 |
-
# Append the resized frame to the list
|
203 |
-
interpolated_frames.append(resized_frame)
|
204 |
|
205 |
return interpolated_frames
|
206 |
|
|
|
195 |
# Resize to 512x512
|
196 |
resized_prev = cropped_prev.resize((512, 512), Image.LANCZOS)
|
197 |
|
198 |
+
resized_frame = resized_prev
|
199 |
+
interpolated_frames.append(resized_frame)
|
|
|
|
|
|
|
|
|
200 |
|
201 |
return interpolated_frames
|
202 |
|