diff options
author | Anuj-S62 <anuj603362@gmail.com> | 2024-07-11 15:18:31 +0530 |
---|---|---|
committer | Anuj-S62 <anuj603362@gmail.com> | 2024-07-21 19:52:11 +0530 |
commit | 0b59086cdddd40689e57969aa7914ba38f1ec2dd (patch) | |
tree | 975c38663f57d497eeab0e2649e51308aef9a755 /lib/main.dart | |
parent | ecd34435c1a74b39bf41d59ad479fdc85d0afb7b (diff) |
Update Voice Agent Flutter App
- update voice-agent flutter app to use whisper AI for
speech-to-text functionality.
- Integrated SharedPreferences to store the application state.
Bug-AGL: SPEC-5200
Change-Id: I9a05b1d135c1fa07949333391ff828f166b7fe8e
Signed-off-by: Anuj-S62 <anuj603362@gmail.com>
Diffstat (limited to 'lib/main.dart')
-rw-r--r-- | lib/main.dart | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/main.dart b/lib/main.dart index 9dfbd54..6349d8d 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:flutter_voiceassistant/screens/loading_screen.dart'; import 'package:provider/provider.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'models/app_state.dart'; @@ -103,7 +104,7 @@ class App extends StatelessWidget { Consumer<ServiceStatusProvider>( builder: (context, provider, child) { return provider.isServiceOnline - ? HomePage(config: config, wakeWord: provider.wakeWord) + ? Loading(config: config, wakeWord: provider.wakeWord) : ErrorScreen( onRetry: onRetry, ); |