Skip to content

Commit f24bf64

Browse files
authored
Update main.dart
1 parent 00f3bf8 commit f24bf64

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/main.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Future<void> main() async {
1515
final cameras = await availableCameras();
1616
final firstCamera = cameras.first;
1717

18-
1918
runApp(
2019
MaterialApp(
2120
theme: ThemeData.dark(),
21+
debugShowCheckedModeBanner: false,
2222
home: TakePictureScreen(
2323
// Pass the appropriate camera to the TakePictureScreen widget.
2424
camera: firstCamera,
@@ -271,9 +271,7 @@ class _DisplayPictureScreenState extends State<DisplayPictureScreen> {
271271

272272
loadModel() async {
273273
await Tflite.loadModel(
274-
model: "assets/model_unquant.tflite",
275-
labels: "assets/labels.txt"
276-
);
274+
model: "assets/model_unquant.tflite", labels: "assets/labels.txt");
277275
}
278276

279277
@override

0 commit comments

Comments
 (0)