Spaces:
Sleeping
Sleeping
Fix depth map not shown properly
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ def process_image(image, total_degrade_steps=15):
|
|
| 86 |
# combined_image.paste(result_image, (image.width, 0))
|
| 87 |
|
| 88 |
|
| 89 |
-
return
|
| 90 |
|
| 91 |
# Create Gradio interface
|
| 92 |
with gr.Blocks(title="Depth-Based Blur Effect") as demo:
|
|
|
|
| 86 |
# combined_image.paste(result_image, (image.width, 0))
|
| 87 |
|
| 88 |
|
| 89 |
+
return depth_image, result_image
|
| 90 |
|
| 91 |
# Create Gradio interface
|
| 92 |
with gr.Blocks(title="Depth-Based Blur Effect") as demo:
|