LapStore commited on
Commit
c743be2
·
1 Parent(s): cafdf93

modified error in reporting unexpeced backgroundimage

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -68,7 +68,7 @@ class SegmenterBackground():
68
  print("replace effect")
69
 
70
  else:
71
- raise ValueError("Got unexpected Input in background_image "+background_image)
72
 
73
  # Replace the background in the output image with the raw image where the mask is True
74
  outpt[mask_rgb] = np.array(raw_image)[mask_rgb]
 
68
  print("replace effect")
69
 
70
  else:
71
+ raise ValueError("Got unexpected Input in background_image "+str(background_image))
72
 
73
  # Replace the background in the output image with the raw image where the mask is True
74
  outpt[mask_rgb] = np.array(raw_image)[mask_rgb]