onnx_modifier.reload()# allow downloading for multiple times
onnx_modifier.modify(modify_info)
onnx_modifier.check_and_save_model()
@ -34,7 +32,7 @@ def parse_args():
parser=argparse.ArgumentParser()
parser.add_argument('--host',type=str,default='127.0.0.1',help='the hostname to listen on. Set this to "0.0.0.0" to have the server available externally as well')
parser.add_argument('--port',type=int,default=5000,help='the port of the webserver. Defaults to 5000.')
parser.add_argument('--debug',type=bool,default=True,help='enable or disable debug mode.')
parser.add_argument('--debug',type=bool,default=False,help='enable or disable debug mode.')