From 02fe43020475f7859ba56339a78705f0fb575fa9 Mon Sep 17 00:00:00 2001 From: "fiona.bos" Date: Mon, 5 Aug 2024 14:00:59 -0700 Subject: [PATCH] fix bracket in code block --- docs/genai/tutorials/phi3-android.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/genai/tutorials/phi3-android.md b/docs/genai/tutorials/phi3-android.md index d10acfd21cbe5..f0e634e0a51d9 100644 --- a/docs/genai/tutorials/phi3-android.md +++ b/docs/genai/tutorials/phi3-android.md @@ -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) @@ -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 + "%");