gen-cards: regenerate Use-it block
Browse files
README.md
CHANGED
|
@@ -23,6 +23,15 @@ no prompt, no noise — so it is fast and small enough to run fully on-device, i
|
|
| 23 |
<!-- gen-cards:use-it begin id=adcsr-x4 (managed by scripts/gen-cards — edit cards.json / QuickStart.swift, not this block) -->
|
| 24 |
## Use it
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
▶️ **Run it (source)** — the [UpscaleDemo runner](https://github.com/john-rocky/coreai-kit/tree/main/Examples/UpscaleDemo)
|
| 27 |
(pick a photo, upscale it ×4 on-device):
|
| 28 |
|
|
|
|
| 23 |
<!-- gen-cards:use-it begin id=adcsr-x4 (managed by scripts/gen-cards — edit cards.json / QuickStart.swift, not this block) -->
|
| 24 |
## Use it
|
| 25 |
|
| 26 |
+
⚡ **One line** — this model is the default behind the kit's task op
|
| 27 |
+
(`import CoreAIOps`; no session, no model plumbing, downloads on first use):
|
| 28 |
+
|
| 29 |
+
```swift
|
| 30 |
+
let big = try await CoreAI.upscale(image)
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
Twenty ops, one shape — [Cookbook](https://github.com/john-rocky/coreai-kit/blob/main/docs/COOKBOOK.md).
|
| 34 |
+
|
| 35 |
▶️ **Run it (source)** — the [UpscaleDemo runner](https://github.com/john-rocky/coreai-kit/tree/main/Examples/UpscaleDemo)
|
| 36 |
(pick a photo, upscale it ×4 on-device):
|
| 37 |
|