Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|