fffiloni commited on
Commit
6b9ae2c
·
1 Parent(s): b6488dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -206,8 +206,8 @@ def infer():
206
  # display the PIL image
207
  #img.show()
208
  img.save('frame_input.jpg')
209
- #res = get_warp_res("input_image.jpg", "flofile.flo", fname_output='warped.png')
210
- #print(res)
211
  return "done", "predicted_flow.jpg", ["flofile.flo"], 'frame_input.jpg'
212
  ####################################
213
  # Bonus: Creating GIFs of predicted flows
 
206
  # display the PIL image
207
  #img.show()
208
  img.save('frame_input.jpg')
209
+ res = get_warp_res("frame_input.jpg", "flofile.flo", fname_output='warped.png')
210
+ print(res)
211
  return "done", "predicted_flow.jpg", ["flofile.flo"], 'frame_input.jpg'
212
  ####################################
213
  # Bonus: Creating GIFs of predicted flows