software-zetic commited on
Commit
2b99a1a
·
verified ·
1 Parent(s): 6e334c2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -5
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 = ZeticMLangeModel(context, "[MODEL_ID]")
71
- model.load()
72
  val output = model.run(inputData)
73
  ```
74
 
75
 
76
  ### iOS (Swift)
77
  ```swift
78
- let model = try ZeticMLangeModel(id: "[MODEL_ID]")
79
- try model.load()
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).