Skip to content

Commit d96c04d

Browse files
authored
Remove line break from print function call (#2564)
1 parent 9cc4f8e commit d96c04d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

keras_hub/src/models/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def add_layer(layer, info):
361361

362362
# Output captured summary for non-interactive logging.
363363
if print_fn:
364-
print_fn(console.end_capture(), line_break=False)
364+
print_fn(console.end_capture().rstrip("\n"))
365365

366366
super().summary(
367367
line_length=line_length,

0 commit comments

Comments
 (0)