Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ class EnhancedChromoStereoizer:
|
|
| 26 |
self,
|
| 27 |
model_name: str = "depth-anything/Depth-Anything-V2-Small-hf",
|
| 28 |
tile_size: int = 518, # Smaller tiles for more detail
|
| 29 |
-
overlap_ratio: float = 0.
|
| 30 |
):
|
| 31 |
self.depth_pipe = pipeline("depth-estimation", model=model_name)
|
| 32 |
self.tile_size = tile_size
|
|
|
|
| 26 |
self,
|
| 27 |
model_name: str = "depth-anything/Depth-Anything-V2-Small-hf",
|
| 28 |
tile_size: int = 518, # Smaller tiles for more detail
|
| 29 |
+
overlap_ratio: float = 0.5 # Higher overlap for better blending
|
| 30 |
):
|
| 31 |
self.depth_pipe = pipeline("depth-estimation", model=model_name)
|
| 32 |
self.tile_size = tile_size
|