mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-20 05:25:01 +08:00
[Bugfix] Fix missing int type for -n in multi-image example (#17223)
This commit is contained in:
parent
df6f3ce883
commit
8c1c926d00
@ -791,7 +791,9 @@ def parse_args():
|
||||
parser.add_argument(
|
||||
"--num-images",
|
||||
"-n",
|
||||
choices=list(range(1, 13)), # 12 is the max number of images
|
||||
type=int,
|
||||
choices=list(range(1,
|
||||
len(IMAGE_URLS) + 1)), # the max number of images
|
||||
default=2,
|
||||
help="Number of images to use for the demo.")
|
||||
return parser.parse_args()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user