Unverified Commit 10c3b8c1 authored by Chauncey's avatar Chauncey Committed by GitHub
Browse files

[Misc] fixed 'required' is an invalid argument for positionals (#13948)


Signed-off-by: default avatarchaunceyjiang <chaunceyjiang@gmail.com>
parent a7f37314
......@@ -102,7 +102,7 @@ if __name__ == '__main__':
parser = argparse.ArgumentParser(
"Script to call a specified VLM through the API. Make sure to serve "
"the model with --task embed before running this.")
parser.add_argument("model",
parser.add_argument("--model",
type=str,
choices=["vlm2vec", "dse_qwen2_vl"],
required=True,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment