gangweix commited on
Commit
8614259
·
verified ·
1 Parent(s): 7d21394

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def main(share=True):
92
  metric_depth[~mask] = metric_depth[mask].max()
93
  return metric_depth, mask, intrinsics
94
 
95
- def on_submit(image, denoise_steps, apply_filter):
96
 
97
  H, W = image.shape[:2]
98
 
 
92
  metric_depth[~mask] = metric_depth[mask].max()
93
  return metric_depth, mask, intrinsics
94
 
95
+ def on_submit(image, denoise_steps, apply_filter, request: gr.Request = None):
96
 
97
  H, W = image.shape[:2]
98