We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4583f95 commit dec1f84Copy full SHA for dec1f84
src/lemonade/tools/server_bench.py
@@ -170,9 +170,8 @@ def run_prompt(
170
# Prepare the image URL once to avoid redundant disk I/O, resizing,
171
# and base64 encoding on every iteration.
172
if image is not None:
173
- image = ServerAdapter._prepare_image_url( # pylint: disable=protected-access
174
- image, image_size=image_size
175
- )
+ # pylint: disable-next=protected-access
+ image = ServerAdapter._prepare_image_url(image, image_size=image_size)
176
image_size = None
177
178
if self.first_run_prompt:
0 commit comments