You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
811 B
19 lines
811 B
import 'package:get/get.dart';
|
|
import '../controllers/translation_controller.dart';
|
|
import '../../../data/services/speech_impl/azure_asr_service.dart';
|
|
import '../../../data/services/speech_impl/azure_tts_service.dart';
|
|
import '../../../data/services/asr_service.dart';
|
|
import '../../../data/services/tts_service.dart';
|
|
import '../../../data/services/volcano_translation_service.dart';
|
|
import '../../../data/services/language_manager.dart';
|
|
|
|
class TranslationBinding implements Bindings {
|
|
@override
|
|
void dependencies() {
|
|
Get.put(LanguageManager(), permanent: true);
|
|
Get.lazyPut<AsrService>(() => AzureAsrService(), fenix: true);
|
|
Get.lazyPut<TtsService>(() => AzureTtsService(), fenix: true);
|
|
Get.put(VolcanoTranslationService(), permanent: true);
|
|
Get.put(TranslationController());
|
|
}
|
|
}
|