gabrielmotablima commited on
Commit
f435c75
·
verified ·
1 Parent(s): 4ee1644

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ predefined_images = [
32
  if fname.lower().endswith(('.png', '.jpg', '.jpeg', '.gif', '.bmp', '.ppm'))
33
  ]
34
 
35
- # Define components logic
36
  def preprocess_image(image):
37
  if image is None:
38
  return None
 
32
  if fname.lower().endswith(('.png', '.jpg', '.jpeg', '.gif', '.bmp', '.ppm'))
33
  ]
34
 
35
+ # Function to preprocess the image to RGB format
36
  def preprocess_image(image):
37
  if image is None:
38
  return None