bump gradio to 3.27

This commit is contained in:
AUTOMATIC 2023-04-29 09:17:35 +03:00
parent 101a18fc84
commit 5a666f3904

View File

@ -19,6 +19,7 @@ def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir,
if extras_mode == 1:
for img in image_folder:
if isinstance(img, Image.Image):
image = img
fn = ''
else:
image = Image.open(img)