Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ gr.themes.Soft()
|
|
9 |
supported_formats = (sorted(Image.SAVE.keys()) or ['BLP', 'BMP', 'BUFR', 'DDS', 'DIB', 'EPS',
|
10 |
'GIF', 'GRIB', 'HDF5', 'ICNS', 'ICO', 'IM',
|
11 |
'JPEG', 'JPEG2000', 'MPO', 'MSP', 'PALM', 'PCX',
|
12 |
-
'PDF', 'PNG', 'PPM', 'SGI', 'SPIDER', 'TGA', 'TIFF',
|
13 |
|
14 |
def convert_image_ffmpeg(image, target_format):
|
15 |
try:
|
|
|
9 |
supported_formats = (sorted(Image.SAVE.keys()) or ['BLP', 'BMP', 'BUFR', 'DDS', 'DIB', 'EPS',
|
10 |
'GIF', 'GRIB', 'HDF5', 'ICNS', 'ICO', 'IM',
|
11 |
'JPEG', 'JPEG2000', 'MPO', 'MSP', 'PALM', 'PCX',
|
12 |
+
'PDF', 'PNG', 'PPM', 'SGI', 'SPIDER', 'TGA', 'TIFF',]
|
13 |
|
14 |
def convert_image_ffmpeg(image, target_format):
|
15 |
try:
|