Spaces:
Running
Running
Update app.py
Browse files
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)")
|
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)
|