Commit
·
56ea5b1
1
Parent(s):
ad40df6
compress fix (just a import)
Browse files- src/utils/compress.py +1 -0
src/utils/compress.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
from PIL import Image
|
| 2 |
import os
|
| 3 |
from typing import Literal, Optional
|
|
|
|
| 4 |
|
| 5 |
def compress_image_file(
|
| 6 |
input_path: str,
|
|
|
|
| 1 |
from PIL import Image
|
| 2 |
import os
|
| 3 |
from typing import Literal, Optional
|
| 4 |
+
from io import BytesIO
|
| 5 |
|
| 6 |
def compress_image_file(
|
| 7 |
input_path: str,
|