Adityadn commited on
Commit
67bbbbc
·
verified ·
1 Parent(s): a243de7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -6,10 +6,10 @@ gr.themes.Soft()
6
 
7
  # Ambil daftar format gambar yang didukung oleh Pillow
8
  supported_formats = sorted(Image.SAVE.keys()) or ['BLP', 'BMP', 'BUFR', 'DDS', 'DIB', 'EPS',
9
- 'GIF', 'GRIB', 'HDF5', 'ICNS', 'ICO', 'IM',
10
- 'JPEG', 'JPEG2000', 'MPO', 'MSP', 'PALM', 'PCX',
11
- 'PDF', 'PNG', 'PPM', 'SGI', 'SPIDER', 'TGA', 'TIFF',
12
- 'WEBP', 'WMX', 'XBM']
13
 
14
  def convert_image(image, target_format):
15
  try:
 
6
 
7
  # Ambil daftar format gambar yang didukung oleh Pillow
8
  supported_formats = sorted(Image.SAVE.keys()) or ['BLP', 'BMP', 'BUFR', 'DDS', 'DIB', 'EPS',
9
+ 'GIF', 'GRIB', 'HDF5', 'ICNS', 'ICO', 'IM',
10
+ 'JPEG', 'JPEG2000', 'MPO', 'MSP', 'PALM', 'PCX',
11
+ 'PDF', 'PNG', 'PPM', 'SGI', 'SPIDER', 'TGA', 'TIFF',
12
+ 'WEBP', 'WMX', 'XBM']
13
 
14
  def convert_image(image, target_format):
15
  try: