YANGYYYY commited on
Commit
9407709
1 Parent(s): 91cc48b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def transfer_video(video, transfer_style):
59
  if transfer_style == "Hayao":
60
  #output = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)# 转换为灰度图像
61
  #os.system("wget https://huggingface.co/YANGYYYY/cartoonize/resolve/main/GeneratorV2_train_photo_Hayao_init.pt")
62
- # args = parse_args_video()
63
  # # 加载视频文件
64
  # #video_binary = io.BytesIO(video)
65
 
 
59
  if transfer_style == "Hayao":
60
  #output = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)# 转换为灰度图像
61
  #os.system("wget https://huggingface.co/YANGYYYY/cartoonize/resolve/main/GeneratorV2_train_photo_Hayao_init.pt")
62
+ args = parse_args_video()
63
  # # 加载视频文件
64
  # #video_binary = io.BytesIO(video)
65