Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -253,8 +253,6 @@ def merge_alpha(img, sigma=0.0):
|
|
253 |
return np.clip(result, 0, 255).astype(np.uint8)
|
254 |
else:
|
255 |
raise ValueError(f"Unexpected number of channels: {C}")
|
256 |
-
else:
|
257 |
-
raise ValueError(f"Unexpected number of channels: {C}")
|
258 |
|
259 |
|
260 |
@torch.inference_mode()
|
|
|
253 |
return np.clip(result, 0, 255).astype(np.uint8)
|
254 |
else:
|
255 |
raise ValueError(f"Unexpected number of channels: {C}")
|
|
|
|
|
256 |
|
257 |
|
258 |
@torch.inference_mode()
|