Skip to content

Commit

Permalink
Merge pull request #220 from WinsWebsA/patch-1
Browse files Browse the repository at this point in the history
Typo when making use of the tf.Interpreter.fromAsset
  • Loading branch information
PaulTR authored May 30, 2024
2 parents 1472c73 + 58d79e0 commit 6b91140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ In the dependency section of `pubspec.yaml` file, add `tflite_flutter: ^0.10.1`
Place `your_model.tflite` in `assets` directory. Make sure to include assets in `pubspec.yaml`.

```dart
final interpreter = await tfl.Interpreter.fromAsset('assets/your_model.tflite');
final interpreter = await Interpreter.fromAsset('assets/your_model.tflite');
```
Refer to the documentation for info on creating interpreter from buffer or file.
Expand Down

0 comments on commit 6b91140

Please sign in to comment.