Skip to content

Commit dec1f84

Browse files
author
praveeni
committed
fix black issue
1 parent 4583f95 commit dec1f84

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lemonade/tools/server_bench.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,8 @@ def run_prompt(
170170
# Prepare the image URL once to avoid redundant disk I/O, resizing,
171171
# and base64 encoding on every iteration.
172172
if image is not None:
173-
image = ServerAdapter._prepare_image_url( # pylint: disable=protected-access
174-
image, image_size=image_size
175-
)
173+
# pylint: disable-next=protected-access
174+
image = ServerAdapter._prepare_image_url(image, image_size=image_size)
176175
image_size = None
177176

178177
if self.first_run_prompt:

0 commit comments

Comments
 (0)