YANGYYYY commited on
Commit
c17f64c
1 Parent(s): 9407709

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def transfer_video(video, transfer_style):
75
 
76
  # # 关闭视频文件
77
  # cap.release()
78
- anime_video = Predictor(args.weight).transform_video(video, args.batch_size)
79
  return anime_video
80
  elif transfer_style == "Shinkai":
81
  args = parse_args()
 
75
 
76
  # # 关闭视频文件
77
  # cap.release()
78
+ anime_video = Predictor(args.weight).transform_video(video, args.batch_size, start=args.start, end=args.end)
79
  return anime_video
80
  elif transfer_style == "Shinkai":
81
  args = parse_args()