Update README.md
Browse files
README.md
CHANGED
|
@@ -67,17 +67,15 @@ Deploy in seconds. The Melange SDK handles model fetching, NPU delegation, and h
|
|
| 67 |
|
| 68 |
### Android (Kotlin)
|
| 69 |
```kotlin
|
| 70 |
-
val model =
|
| 71 |
-
model.load()
|
| 72 |
val output = model.run(inputData)
|
| 73 |
```
|
| 74 |
|
| 75 |
|
| 76 |
### iOS (Swift)
|
| 77 |
```swift
|
| 78 |
-
let model = try
|
| 79 |
-
try model.
|
| 80 |
-
let result = try model.run(inputData)
|
| 81 |
```
|
| 82 |
|
| 83 |
💡 **Looking for Java, React Native, or Flutter?** Visit [Melange Dashboard](https://mlange.zetic.ai).
|
|
|
|
| 67 |
|
| 68 |
### Android (Kotlin)
|
| 69 |
```kotlin
|
| 70 |
+
val model = ZeticMLangeHFModel(context, "ZETIC-ai/whisper-tiny-decoder")
|
|
|
|
| 71 |
val output = model.run(inputData)
|
| 72 |
```
|
| 73 |
|
| 74 |
|
| 75 |
### iOS (Swift)
|
| 76 |
```swift
|
| 77 |
+
let model = try await ZeticMLangeHFModel("ZETIC-ai/whisper-tiny-decoder")
|
| 78 |
+
let outputs = try model.run(inputs: inputs)
|
|
|
|
| 79 |
```
|
| 80 |
|
| 81 |
💡 **Looking for Java, React Native, or Flutter?** Visit [Melange Dashboard](https://mlange.zetic.ai).
|