wahaha commited on
Commit
67a4f7d
·
1 Parent(s): 12ae7b0
Files changed (2) hide show
  1. app.py +1 -1
  2. test1.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def parse_args() -> argparse.Namespace:
47
 
48
 
49
  def run(
50
- image,
51
  ) -> tuple[PIL.Image.Image]:
52
 
53
  curPath = os.path.abspath(os.path.dirname(__file__))
 
47
 
48
 
49
  def run(
50
+ image
51
  ) -> tuple[PIL.Image.Image]:
52
 
53
  curPath = os.path.abspath(os.path.dirname(__file__))
test1.py CHANGED
@@ -69,7 +69,7 @@ def test(checkpoint_dir, style_name, test_dir, if_adjust_brightness, img_size=[2
69
  else:
70
  save_images(fake_img, image_path, None)
71
 
72
- out_paths.push(image_path)
73
  end = time.time()
74
  print(f'test-time: {end-begin} s')
75
 
 
69
  else:
70
  save_images(fake_img, image_path, None)
71
 
72
+ out_paths.append(image_path)
73
  end = time.time()
74
  print(f'test-time: {end-begin} s')
75