Skip to content

Commit

Permalink
fix bracket in code block
Browse files Browse the repository at this point in the history
  • Loading branch information
fionabos committed Aug 5, 2024
1 parent 62e3968 commit 02fe430
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/genai/tutorials/phi3-android.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Phi-3 for Android
description: Develop an Android generative AI application with ONNX Runtime
description: Develop an Android generative AI application with ONNX Runtime
has_children: false
parent: Tutorials
grand_parent: Generate API (Preview)
Expand Down Expand Up @@ -52,7 +51,7 @@ Downloading the packages for the app on your mobile device takes ~10-15 minutes
public void onProgress(long lastBytesRead, long bytesRead, long bytesTotal) {
long lastPctDone = 100 * lastBytesRead / bytesTotal;
long pctDone = 100 * bytesRead / bytesTotal;
if (pctDone > lastPctDone) {}
if (pctDone > lastPctDone) {
Log.d(TAG, "Downloading files: " + pctDone + "%");
runOnUiThread(() -> {
progressText.setText("Downloading: " + pctDone + "%");
Expand Down

0 comments on commit 02fe430

Please sign in to comment.