jerilseb commited on
Commit
6ab4125
1 Parent(s): 8958d40

update stuff

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ transform = transforms.Compose([
40
 
41
  def predict(image):
42
  image = image['composite']
43
- image = Image.fromarray(image).convert('RGB')
44
  input = transform(image).unsqueeze(0)
45
  print(input.shape)
46
 
 
40
 
41
  def predict(image):
42
  image = image['composite']
43
+ image = Image.fromarray(image).convert('L')
44
  input = transform(image).unsqueeze(0)
45
  print(input.shape)
46