Skip to content

Commit b9b433f

Browse files
committed
fix parser
1 parent 981ec0d commit b9b433f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infer-web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ def change_info_(ckpt_path):
632632

633633
import argparse
634634
parser = argparse.ArgumentParser()
635-
parser.add_argument("--colab", type=bool, default=False, help="Launch in colab")
635+
parser.add_argument("--colab", action='store_true', help="Launch in colab")
636636
cmd_opts = parser.parse_args()
637637
if cmd_opts.colab:
638638
app.launch(share=True)

0 commit comments

Comments
 (0)