fffiloni commited on
Commit
04c1381
·
1 Parent(s): cf1d320

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -193,7 +193,7 @@ def infer():
193
  # output_folder = "/tmp/" # Update this to the folder of your choice
194
  write_jpeg(flow_img, f"predicted_flow.jpg")
195
  flo_file = write_flo(predicted_flow, "flofile.flo")
196
- write_jpeg(img1_batch, f"input_image.jpg")
197
  #res = warp_image(img1_batch, predicted_flow)
198
  res = get_warp_res("input_image.jpg", "flofile.flo", fname_output='warped.png')
199
  print(res)
 
193
  # output_folder = "/tmp/" # Update this to the folder of your choice
194
  write_jpeg(flow_img, f"predicted_flow.jpg")
195
  flo_file = write_flo(predicted_flow, "flofile.flo")
196
+ write_jpeg(frames[100], f"input_image.jpg")
197
  #res = warp_image(img1_batch, predicted_flow)
198
  res = get_warp_res("input_image.jpg", "flofile.flo", fname_output='warped.png')
199
  print(res)