Skip to content

Commit

Permalink
new line removed from llava
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Jan 10, 2025
1 parent 46f3f05 commit 40121ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama_ros/src/llava_ros/llava.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void Llava::load_prompt(const std::string &input_prompt, bool add_pfx,

// no image_text
if (image_pos == std::string::npos) {
prompt = this->llava_params.image_text + "\n" + prompt;
prompt = this->llava_params.image_text + prompt;
image_pos = 0;
}
}
Expand Down

0 comments on commit 40121ba

Please sign in to comment.