fffiloni commited on
Commit
d60ba1a
·
1 Parent(s): 29224cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -207,7 +207,7 @@ def infer():
207
  transform = T.ToPILImage()
208
 
209
  # convert the tensor to PIL image using above transform
210
- img = transform(img1_batch)
211
 
212
  # display the PIL image
213
  #img.show()
 
207
  transform = T.ToPILImage()
208
 
209
  # convert the tensor to PIL image using above transform
210
+ img = transform(img1_batch[0])
211
 
212
  # display the PIL image
213
  #img.show()