Freak-ppa commited on
Commit
84a0854
·
verified ·
1 Parent(s): eaae6bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
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()