Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ subprocess.run([
|
|
43 |
"ffmpeg", "-y", "-r", "14", "-f", "image2",
|
44 |
"-i", f"{TARGET_DIR}img%d.png",
|
45 |
"-vf", "palettegen=stats_mode=single",
|
46 |
-
|
47 |
], check=True)
|
48 |
|
49 |
# Step 2: Generate GIF using palette
|
|
|
43 |
"ffmpeg", "-y", "-r", "14", "-f", "image2",
|
44 |
"-i", f"{TARGET_DIR}img%d.png",
|
45 |
"-vf", "palettegen=stats_mode=single",
|
46 |
+
PALETTE_PNG
|
47 |
], check=True)
|
48 |
|
49 |
# Step 2: Generate GIF using palette
|