Skip to content

Commit ad45ef3

Browse files
committed
Finalize 0.0.3
1 parent 59a522d commit ad45ef3

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Add `muna` to your `pubspec.yaml`:
1010

1111
```yaml
1212
dependencies:
13-
muna: ^0.0.2
13+
muna: ^0.0.3
1414
```
1515
1616
## Running a Model

example/README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1-
# muna_examples
1+
# Muna Flutter Example App
22

3-
A new Flutter project.
3+
An example Flutter app demonstrating on-device chat completions, text-to-speech, speech-to-text, and more with [Muna](https://muna.ai).
44

55
## Getting Started
66

7-
This project is a starting point for a Flutter application.
7+
1. **Set up your access key.** Copy the template and add your key from [muna.ai](https://muna.ai/settings/developer):
8+
```bash
9+
cp .env.example .env
10+
# Edit .env and add your MUNA_ACCESS_KEY
11+
```
812

9-
A few resources to get you started if this is your first Flutter project:
13+
2. **Embed the models.** This downloads model resources for Android:
14+
```bash
15+
# Run this in Terminal
16+
$ dart run muna:embed
17+
```
1018

11-
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
13-
14-
For help getting started with Flutter development, view the
15-
[online documentation](https://docs.flutter.dev/), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
19+
3. **Run the app** on a connected Android or iOS device:
20+
```bash
21+
# Build and run the app
22+
$ flutter run --dart-define-from-file=.env
23+
```

0 commit comments

Comments
 (0)