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,