Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
8c1c926d
Unverified
Commit
8c1c926d
authored
Apr 26, 2025
by
Isotr0py
Committed by
GitHub
Apr 26, 2025
Browse files
[Bugfix] Fix missing int type for `-n` in multi-image example (#17223)
parent
df6f3ce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
examples/offline_inference/vision_language_multi_image.py
examples/offline_inference/vision_language_multi_image.py
+3
-1
No files found.
examples/offline_inference/vision_language_multi_image.py
View file @
8c1c926d
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment