Update app.py
Browse files
app.py
CHANGED
@@ -240,7 +240,7 @@ def infer():
|
|
240 |
# convert the tensor to PIL image using above transform
|
241 |
#img = transform(frames[1])
|
242 |
img = transform(input_frame_2)
|
243 |
-
img = img.resize((
|
244 |
# display the PIL image
|
245 |
#img.show()
|
246 |
frame2pil = np.array(img.convert('RGB'))
|
|
|
240 |
# convert the tensor to PIL image using above transform
|
241 |
#img = transform(frames[1])
|
242 |
img = transform(input_frame_2)
|
243 |
+
img = img.resize((960, 520))
|
244 |
# display the PIL image
|
245 |
#img.show()
|
246 |
frame2pil = np.array(img.convert('RGB'))
|