Skip to content

Commit 1c21992

Browse files
authored
update model template (#432)
1 parent 18e600e commit 1c21992

File tree

1 file changed

+1
-1
lines changed
  • mobile/examples/phi-3/android/app/src/main/java/ai/onnxruntime/genai/demo

1 file changed

+1
-1
lines changed

mobile/examples/phi-3/android/app/src/main/java/ai/onnxruntime/genai/demo/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void onClick(View v) {
6868
}
6969

7070
String promptQuestion = userMsgEdt.getText().toString();
71-
String promptQuestion_formatted = "<|user|>" + promptQuestion + "<|end|><|assistant|>";
71+
String promptQuestion_formatted = "<|user|>\n" + promptQuestion + "<|end|>\n<|assistant|>";
7272
Log.i("GenAI: prompt question", promptQuestion_formatted);
7373
setVisibility();
7474

0 commit comments

Comments
 (0)