Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1
- if not args["input_video"] and not args["input_folder"]:
- print('--input_video or --input_folder is required')
- sys.exit()
- #2
- path = Path(args["output"])
- path.mkdir(parents=True, exist_ok=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement