mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-07-05 20:42:12 -07:00
splitting large files
This commit is contained in:
parent
30cc36c8e4
commit
ee7d471f20
16 changed files with 805308 additions and 7 deletions
12
main.py
12
main.py
|
@ -18,7 +18,6 @@ def main():
|
|||
subparsers = parser.add_subparsers()
|
||||
|
||||
run_parser = subparsers.add_parser( "run", help="Run the application.")
|
||||
|
||||
run_subparsers = run_parser.add_subparsers()
|
||||
|
||||
def run_DeepFaceLive(args):
|
||||
|
@ -31,6 +30,17 @@ def main():
|
|||
p.add_argument('--userdata-dir', default=None, action=fixPathAction, help="Workspace directory.")
|
||||
p.set_defaults(func=run_DeepFaceLive)
|
||||
|
||||
|
||||
misc_parser = subparsers.add_parser("misc")
|
||||
misc_subparsers = misc_parser.add_subparsers()
|
||||
|
||||
def run_split_large_files(args):
|
||||
from misc.split_large_files import split_large_files
|
||||
split_large_files()
|
||||
|
||||
p = misc_subparsers.add_parser('split_large_files')
|
||||
p.set_defaults(func=run_split_large_files)
|
||||
|
||||
def bad_args(arguments):
|
||||
parser.print_help()
|
||||
exit(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue