tori29umai commited on
Commit
7cb3b05
1 Parent(s): 131caab
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -131,7 +131,9 @@ def get_major_colors(image, threshold_percentage=0.01):
131
  def line_color(image, mask, new_color):
132
  data = np.array(image)
133
  data[mask, :3] = new_color
134
- return Image.fromarray(data, 'RGBA')
 
 
135
 
136
 
137
  def main(image, lineart):
 
131
  def line_color(image, mask, new_color):
132
  data = np.array(image)
133
  data[mask, :3] = new_color
134
+ return Image.fromarray(data)
135
+
136
+
137
 
138
 
139
  def main(image, lineart):