freealise commited on
Commit
109579f
·
verified ·
1 Parent(s): 230aa5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -478,12 +478,12 @@ def get_mean_and_std(x):
478
  return x_mean, x_std
479
 
480
  def color_transfer(base):
481
- global frames
482
- targets = []
483
-
484
- for n in range(len(frames)):
485
- targets.append(frames[base])
486
- if n != base:
487
  print("Converting picture "+str(n)+"...")
488
  s, t = read_file(frames[n],targets[n])
489
  s_mean, s_std = get_mean_and_std(s)
 
478
  return x_mean, x_std
479
 
480
  def color_transfer(base):
481
+ global frames
482
+ targets = []
483
+
484
+ for n in range(len(frames)):
485
+ targets.append(frames[base])
486
+ if n != base:
487
  print("Converting picture "+str(n)+"...")
488
  s, t = read_file(frames[n],targets[n])
489
  s_mean, s_std = get_mean_and_std(s)