AItool commited on
Commit
e7cfbe4
·
verified ·
1 Parent(s): 7b51134

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -34,15 +34,15 @@ def interpolate_image(img_a_path: str, img_b_path: str) -> Tuple[str, str]:
34
 
35
  try:
36
 
37
- inference_img(img=[Path(img_a_path), Path(img_b_path)],exp=4)
38
 
39
  print("ok")
40
  # 1) Run interpolation (frames -> TARGET_DIR/img1.png ... imgN.png)
41
- # # subprocess.run([
42
- # # "python3", "inference_img.py",
43
- # # "--img", str(img_a_path), str(img_b_path),
44
- # "--exp", "4"
45
- # ], check=True)
46
 
47
  # 2) Generate palette
48
  subprocess.run([
 
34
 
35
  try:
36
 
37
+ #inference_img(img=[Path(img_a_path), Path(img_b_path)],exp=4)
38
 
39
  print("ok")
40
  # 1) Run interpolation (frames -> TARGET_DIR/img1.png ... imgN.png)
41
+ subprocess.run([
42
+ "python3", "inference_img.py",
43
+ "--img", str(img_a_path), str(img_b_path),
44
+ "--exp", "4"
45
+ ], check=True)
46
 
47
  # 2) Generate palette
48
  subprocess.run([