Adityadn commited on
Commit
e1a05e8
·
verified ·
1 Parent(s): 96451cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,10 +6,10 @@ import ffmpeg
6
  gr.themes.Soft()
7
 
8
  # Ambil daftar format gambar yang didukung oleh Pillow
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:
 
6
  gr.themes.Soft()
7
 
8
  # Ambil daftar format gambar yang didukung oleh Pillow
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: