radames commited on
Commit
4fecf45
1 Parent(s): caeb1f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def predict(image, files=None):
28
  print(image, files)
29
  images_paths = [image]
30
  if not files == None:
31
- images_paths = list(map(lambda x: x.name, files))
32
  pil_images = [Image.open(image_path).convert("RGB") for image_path in images_paths]
33
 
34
  style = style_pipe(pil_images)
 
28
  print(image, files)
29
  images_paths = [image]
30
  if not files == None:
31
+ images_paths = list(map(lambda x: x.name, files))
32
  pil_images = [Image.open(image_path).convert("RGB") for image_path in images_paths]
33
 
34
  style = style_pipe(pil_images)