Update app.py
Browse files
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()
|