Instructions to use litert-community/Laya-Multilingual-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/Laya-Multilingual-LiteRT with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Laya
How to use litert-community/Laya-Multilingual-LiteRT with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
File size: 632 Bytes
eae8f62 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | // SPDX-License-Identifier: Apache-2.0
package com.laya
import android.content.Context
/** Release has no fixture reader or device gate implementation. */
object LayaGateEntry {
/** Shared launch-interface type; no release path creates a gate result. */
data class Result(val path: String, val status: String, val error: String? = null)
/** Defensive guard; MainActivity and MainViewModel reject gate extras in release. */
@Suppress("UNUSED_PARAMETER")
fun run(context: Context, engine: LayaEngine, backend: LayaEngine.Backend, window: Int): Result {
error("Gate execution is available only in debug builds")
}
}
|