Skip to content

Commit

Permalink
Tweak the prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Sep 29, 2024
1 parent 2999594 commit 97bc25a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion candle-examples/examples/paligemma/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ fn main() -> Result<()> {
args.repeat_last_n,
&device,
);
pipeline.run(&args.prompt, args.sample_len)?;
let prompt = format!("{}\n", args.prompt);
pipeline.run(&prompt, args.sample_len)?;
Ok(())
}

0 comments on commit 97bc25a

Please sign in to comment.