Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ subprocess.run([
|
|
58 |
# Step 3: Check and display result
|
59 |
if os.path.exists(TARGET_DIR/OUTPUT_GIF):
|
60 |
with open(TARGET_DIR/OUTPUT_GIF, "rb") as f:
|
61 |
-
gif = Image.open(io.BytesIO(f.read())
|
62 |
print("✅ GIF created!")
|
63 |
# You can return or display the gif here
|
64 |
else:
|
|
|
58 |
# Step 3: Check and display result
|
59 |
if os.path.exists(TARGET_DIR/OUTPUT_GIF):
|
60 |
with open(TARGET_DIR/OUTPUT_GIF, "rb") as f:
|
61 |
+
gif = Image.open(io.BytesIO(f.read()))
|
62 |
print("✅ GIF created!")
|
63 |
# You can return or display the gif here
|
64 |
else:
|