Update app.py
Browse files
app.py
CHANGED
@@ -170,7 +170,7 @@ def infer():
|
|
170 |
transform = T.ToPILImage()
|
171 |
|
172 |
# convert the tensor to PIL image using above transform
|
173 |
-
img = transform(
|
174 |
img = img.resize((960, 520))
|
175 |
# display the PIL image
|
176 |
#img.show()
|
|
|
170 |
transform = T.ToPILImage()
|
171 |
|
172 |
# convert the tensor to PIL image using above transform
|
173 |
+
img = transform(frames[1])
|
174 |
img = img.resize((960, 520))
|
175 |
# display the PIL image
|
176 |
#img.show()
|