Baptlem commited on
Commit
e57f9cc
1 Parent(s): 2d0240c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def pipe_inference(
78
  if not isinstance(image, np.ndarray):
79
  image = np.array(image)
80
 
81
- processed_image = resize_image(image, resolution)
82
 
83
  if not is_canny:
84
  resized_image, processed_image = preprocess_canny(processed_image, resolution)
 
78
  if not isinstance(image, np.ndarray):
79
  image = np.array(image)
80
 
81
+ processed_image = resize_image(image, resolution) #-> PIL
82
 
83
  if not is_canny:
84
  resized_image, processed_image = preprocess_canny(processed_image, resolution)