bump gradio to 3.27
This commit is contained in:
parent
101a18fc84
commit
5a666f3904
@ -19,6 +19,7 @@ def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir,
|
|||||||
if extras_mode == 1:
|
if extras_mode == 1:
|
||||||
for img in image_folder:
|
for img in image_folder:
|
||||||
if isinstance(img, Image.Image):
|
if isinstance(img, Image.Image):
|
||||||
|
image = img
|
||||||
fn = ''
|
fn = ''
|
||||||
else:
|
else:
|
||||||
image = Image.open(img)
|
image = Image.open(img)
|
||||||
|
Loading…
Reference in New Issue
Block a user