From 10c3b8c1cf3b803db5d302a61c19c2aecdddf041 Mon Sep 17 00:00:00 2001 From: Chauncey Date: Thu, 27 Feb 2025 17:06:49 +0800 Subject: [PATCH] [Misc] fixed 'required' is an invalid argument for positionals (#13948) Signed-off-by: chaunceyjiang --- .../openai_chat_embedding_client_for_multimodal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/online_serving/openai_chat_embedding_client_for_multimodal.py b/examples/online_serving/openai_chat_embedding_client_for_multimodal.py index e4106203..2c63c5ec 100644 --- a/examples/online_serving/openai_chat_embedding_client_for_multimodal.py +++ b/examples/online_serving/openai_chat_embedding_client_for_multimodal.py @@ -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,