Skip to content

Commit 6b1c3ec

Browse files
Update keras_hub/src/models/moondream/moondream_causal_lm.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 244deac commit 6b1c3ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

keras_hub/src/models/moondream/moondream_causal_lm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ def __init__(
7373
preprocessor=None,
7474
**kwargs,
7575
):
76+
self.backbone = backbone
77+
self.preprocessor = preprocessor
78+
7679
inputs = backbone.input
7780
outputs = backbone(inputs)
7881

@@ -81,6 +84,3 @@ def __init__(
8184
outputs=outputs,
8285
**kwargs,
8386
)
84-
85-
self.backbone = backbone
86-
self.preprocessor = preprocessor

0 commit comments

Comments
 (0)