fffiloni commited on
Commit
d85d1a4
1 Parent(s): 3ec7744

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
  flo_file = write_flo(predicted_flow, "flofile.flo")
194
  write_jpeg(img1_batch, f"input_image.jpg")
195
  #res = warp_image(img1_batch, predicted_flow)
196
- res = get_warp_res("input_image.jpg", "flofile.flo", fname_output='warped.png'):
197
  print(res)
198
  return "done", "predicted_flow.jpg", ["flofile.flo"]
199
  ####################################
 
193
  flo_file = write_flo(predicted_flow, "flofile.flo")
194
  write_jpeg(img1_batch, f"input_image.jpg")
195
  #res = warp_image(img1_batch, predicted_flow)
196
+ res = get_warp_res("input_image.jpg", "flofile.flo", fname_output='warped.png')
197
  print(res)
198
  return "done", "predicted_flow.jpg", ["flofile.flo"]
199
  ####################################