Commit 5a666f39 authored by AUTOMATIC's avatar AUTOMATIC

bump gradio to 3.27

parent 101a18fc
...@@ -19,6 +19,7 @@ def run_postprocessing(extras_mode, image, image_folder, input_dir, output_dir, ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment