bhanusAI commited on
Commit
316a637
·
verified ·
1 Parent(s): 8ae0bda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def model(img):
33
  loaded_model.summary()
34
  # Load and preprocess the image
35
  try:
36
- image = Image.open(img).convert(channel).resize((256, 256))
37
  except:
38
  print("ERROR")
39
  print(image)
 
33
  loaded_model.summary()
34
  # Load and preprocess the image
35
  try:
36
+ image = img.convert(channel).resize((256, 256))
37
  except:
38
  print("ERROR")
39
  print(image)