Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app_svc.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,8 @@ def main(args):

if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--checkpoint-path", type=str, help="Path to the checkpoint file", default=None)
parser.add_argument("--config-path", type=str, help="Path to the config file", default=None)
parser.add_argument("--checkpoint", type=str, help="Path to the checkpoint file", default=None)
parser.add_argument("--config", type=str, help="Path to the config file", default=None)
parser.add_argument("--share", type=str2bool, nargs="?", const=True, default=False, help="Whether to share the app")
parser.add_argument("--fp16", type=str2bool, nargs="?", const=True, help="Whether to use fp16", default=True)
parser.add_argument("--gpu", type=int, help="Which GPU id to use", default=0)
Expand Down
4 changes: 2 additions & 2 deletions app_vc.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ def main(args):

if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--checkpoint-path", type=str, help="Path to the checkpoint file", default=None)
parser.add_argument("--config-path", type=str, help="Path to the config file", default=None)
parser.add_argument("--checkpoint", type=str, help="Path to the checkpoint file", default=None)
parser.add_argument("--config", type=str, help="Path to the config file", default=None)
parser.add_argument("--share", type=str2bool, nargs="?", const=True, default=False, help="Whether to share the app")
parser.add_argument("--fp16", type=str2bool, nargs="?", const=True, help="Whether to use fp16", default=True)
parser.add_argument("--gpu", type=int, help="Which GPU id to use", default=0)
Expand Down