diff --git a/candle-examples/examples/moondream/main.rs b/candle-examples/examples/moondream/main.rs index 7ea6570f..2ec04256 100644 --- a/candle-examples/examples/moondream/main.rs +++ b/candle-examples/examples/moondream/main.rs @@ -79,7 +79,7 @@ impl TextGeneration { } else { self.model .text_model - .forward_with_img(&input, &image_embeds)? + .forward_with_img(&input, image_embeds)? }; let logits = logits.squeeze(0)?.to_dtype(DType::F32)?; let logits = if self.repeat_penalty == 1. {