fffiloni commited on
Commit
e5dd50c
·
1 Parent(s): 13a6758

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -173,8 +173,8 @@ def infer():
173
  # output_folder = "/tmp/" # Update this to the folder of your choice
174
  write_jpeg(flow_img, f"predicted_flow.jpg")
175
  flo_file = write_flo(predicted_flow, "flofile.flo")
176
-
177
- warp_res = warp(frames[100], frames[101], "flofile.flo", iblend=0.5)
178
  return "done", "predicted_flow.jpg", ["flofile.flo"], warp_res
179
  ####################################
180
  # Bonus: Creating GIFs of predicted flows
 
173
  # output_folder = "/tmp/" # Update this to the folder of your choice
174
  write_jpeg(flow_img, f"predicted_flow.jpg")
175
  flo_file = write_flo(predicted_flow, "flofile.flo")
176
+
177
+ warp_res = warp(frames[100], frames[101], "flofile.flo", blend=0.5)
178
  return "done", "predicted_flow.jpg", ["flofile.flo"], warp_res
179
  ####################################
180
  # Bonus: Creating GIFs of predicted flows