Update app.py
Browse files
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 |
####################################
|