Spaces:
Sleeping
Sleeping
Update run.py
Browse files
run.py
CHANGED
|
@@ -8,7 +8,7 @@ def gif_maker(img_files):
|
|
| 8 |
for filename, _ in img_files:
|
| 9 |
pil_img = Image.open(filename)
|
| 10 |
if pil_img.mode in ('RGBA', 'LA', 'P'):
|
| 11 |
-
pil_img = pil_img.convert('
|
| 12 |
img_array.append(pil_img)
|
| 13 |
|
| 14 |
with tempfile.NamedTemporaryFile(suffix='.gif', delete=False) as tmp_file:
|
|
|
|
| 8 |
for filename, _ in img_files:
|
| 9 |
pil_img = Image.open(filename)
|
| 10 |
if pil_img.mode in ('RGBA', 'LA', 'P'):
|
| 11 |
+
pil_img = pil_img.convert('HSV')
|
| 12 |
img_array.append(pil_img)
|
| 13 |
|
| 14 |
with tempfile.NamedTemporaryFile(suffix='.gif', delete=False) as tmp_file:
|