tori29umai commited on
Commit
2932529
·
1 Parent(s): ec4bc2b

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def replace_color(image, color_1, blur_radius=2):
52
  while np.any(matches):
53
  new_matches = np.zeros_like(matches)
54
  match_num = np.sum(matches)
55
- for i in tqdm(range(len(data))):
56
  if matches[i]:
57
  x, y = divmod(i, original_shape[1])
58
  neighbors = [
 
52
  while np.any(matches):
53
  new_matches = np.zeros_like(matches)
54
  match_num = np.sum(matches)
55
+ for i in range(len(data)): # Removed tqdm
56
  if matches[i]:
57
  x, y = divmod(i, original_shape[1])
58
  neighbors = [