Forward --help to server.py

This commit is contained in:
oobabooga 2023-09-23 07:27:27 -07:00
parent c2ae01fb04
commit 30d7c4eaa1

View file

@ -255,7 +255,7 @@ if __name__ == "__main__":
# Verifies we are in a conda environment # Verifies we are in a conda environment
check_env() check_env()
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser(add_help=False)
parser.add_argument('--update', action='store_true', help='Update the web UI.') parser.add_argument('--update', action='store_true', help='Update the web UI.')
args, _ = parser.parse_known_args() args, _ = parser.parse_known_args()