Spaces:
Running
Running
Update app.py
Browse files
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, args.start, args.end)
|
79 |
return anime_video
|
80 |
elif transfer_style == "Shinkai":
|
81 |
args = parse_args()
|