Merlintxu commited on
Commit
1387e4a
1 Parent(s): 5d4346b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ with gr.Blocks() as demo:
137
  optimize_batch_button = gr.Button("Optimizar Imágenes en ZIP")
138
 
139
  batch_output_zip = gr.File(label="Descargar ZIP de imágenes optimizadas", visible=True)
140
- batch_gallery = gr.Gallery(label="Imágenes optimizadas (individuales)").style(grid=[4])
141
 
142
  def update_gallery(zip_file, png_optimize, jpeg_quality, jpeg_resolution, webp_quality):
143
  zip_output_path, optimized_files = optimize_zip_images(zip_file, png_optimize, jpeg_quality, jpeg_resolution, webp_quality)
 
137
  optimize_batch_button = gr.Button("Optimizar Imágenes en ZIP")
138
 
139
  batch_output_zip = gr.File(label="Descargar ZIP de imágenes optimizadas", visible=True)
140
+ batch_gallery = gr.Gallery(label="Imágenes optimizadas (individuales)")
141
 
142
  def update_gallery(zip_file, png_optimize, jpeg_quality, jpeg_resolution, webp_quality):
143
  zip_output_path, optimized_files = optimize_zip_images(zip_file, png_optimize, jpeg_quality, jpeg_resolution, webp_quality)