Yoursmiling hvt4 commited on
Commit
ba6b8a5
·
1 Parent(s): c1ab4bc

Update README (#2)

Browse files

- Update README with detailed instrcutions for Gallery app (24c35e9d31ca90190e0f6449b8a287d9f627aaa4)
- Minor changes (41f3a4ec5f46a09be98295be7b7436bd3fa897d7)


Co-authored-by: Harsha Veena <hvt4@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +7 -5
README.md CHANGED
@@ -53,12 +53,14 @@ This repository hosts the [**LiteRT-LM**](https://ai.google.dev/edge/litert-lm)
53
 
54
  ## Use the model
55
 
56
- ### Android
57
 
58
- #### Edge Gallery App
59
- * Download or build the [app](https://github.com/google-ai-edge/gallery?tab=readme-ov-file#-get-started-in-minutes) from GitHub.
60
- * Install the [app](https://play.google.com/store/apps/details?id=com.google.ai.edge.gallery&pli=1) from Google Play.
61
- * Follow the instructions in the app.
 
 
62
 
63
  To build the demo app from source, please follow the [instructions](https://github.com/google-ai-edge/gallery/blob/main/README.md) from the GitHub repository.
64
 
 
53
 
54
  ## Use the model
55
 
56
+ ### Edge Gallery App (Android)
57
 
58
+ 1. **Get the App**: Install the [app](https://play.google.com/store/apps/details?id=com.google.ai.edge.gallery&pli=1) from Google Play or download the latest APK from the [GitHub releases page](https://github.com/google-ai-edge/gallery/releases).
59
+ 2. **Importing the Model**: Navigate to the **Model manager** within the app and click the **"+" (plus)** icon in the bottom-right corner. Two options will appear:
60
+ * **Import from HF (Recommended)**: Select this option, and a dialog box will appear showing an example Hugging Face model URL. Enter the HF link for the desired `.litertlm` model and click submit. The model will then appear in your list, and you can proceed to download it (a Hugging Face account login is required).
61
+ * **From local model file**: First, download the `.litertlm` model directly to your Android device, OR download it to your computer and push it via ADB (e.g., `adb push minicpm_dynamic_wi8_afp32_gpu_opt.litertlm /sdcard/Download/`). Then, select this option, choose the downloaded file from your storage, configure your preferred parameters, and tap **"Import"**.
62
+
63
+ For full details on importing models and other features, see the [Edge Gallery App Wiki](https://github.com/google-ai-edge/gallery/wiki).
64
 
65
  To build the demo app from source, please follow the [instructions](https://github.com/google-ai-edge/gallery/blob/main/README.md) from the GitHub repository.
66