Edan233 commited on
Commit
0c6942a
·
1 Parent(s): f80d880

fix: 去掉注释代码

Browse files
examples/upload_video_to_baijiahao.py CHANGED
@@ -20,8 +20,8 @@ if __name__ == '__main__':
20
  title, tags = get_title_and_hashtags(str(file))
21
  thumbnail_path = file.with_suffix('.png')
22
  # 打印视频文件名、标题和 hashtag
23
- # print(f"视频文件名:{file}")
24
- # print(f"标题:{title}")
25
- # print(f"Hashtag:{tags}")
26
  app = BaiJiaHaoVideo(title, file, tags, publish_datetimes[index], account_file)
27
- asyncio.run(app.mainAi(), debug=False)
 
20
  title, tags = get_title_and_hashtags(str(file))
21
  thumbnail_path = file.with_suffix('.png')
22
  # 打印视频文件名、标题和 hashtag
23
+ print(f"视频文件名:{file}")
24
+ print(f"标题:{title}")
25
+ print(f"Hashtag:{tags}")
26
  app = BaiJiaHaoVideo(title, file, tags, publish_datetimes[index], account_file)
27
+ asyncio.run(app.main(), debug=False)