fffiloni commited on
Commit
136adc4
1 Parent(s): f14422e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ def infer():
195
  flow_img = flow_to_image(predicted_flow).to("cpu")
196
  # output_folder = "/tmp/" # Update this to the folder of your choice
197
  write_jpeg(flow_img, f"predicted_flow.jpg")
198
- input_image = flow_to_image(img1_batch).to("cpu")
199
  write_jpeg(input_image, f"frame_input.jpg")
200
  flo_file = write_flo(predicted_flow, "flofile.flo")
201
  #write_jpeg(frames[100], f"input_image.jpg")
 
195
  flow_img = flow_to_image(predicted_flow).to("cpu")
196
  # output_folder = "/tmp/" # Update this to the folder of your choice
197
  write_jpeg(flow_img, f"predicted_flow.jpg")
198
+ input_image = flow_to_image(frames[100]).to("cpu")
199
  write_jpeg(input_image, f"frame_input.jpg")
200
  flo_file = write_flo(predicted_flow, "flofile.flo")
201
  #write_jpeg(frames[100], f"input_image.jpg")