Skip to content

Commit 7fbf4d5

Browse files
committed
Another copy/paste mistake
1 parent abe445b commit 7fbf4d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo-apps/android/LlamaDemo/app/src/main/java/com/example/executorchllamademo/LlmBenchmarkRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected void onCreate(Bundle savedInstanceState) {
3737
Intent intent = getIntent();
3838

3939
modelDir = new File(intent.getStringExtra("model_dir"));
40-
File model = Arrays.stream(directory.listFiles())
40+
File model = Arrays.stream(modelDir.listFiles())
4141
.filter(file -> file.getName().endsWith(".pte"))
4242
.findFirst();
4343
String tokenizerPath = intent.getStringExtra("tokenizer_path");

0 commit comments

Comments
 (0)