Spaces:
Building
Building
Update flare-ui/src/app/components/environment/environment.component.ts
Browse files
flare-ui/src/app/components/environment/environment.component.ts
CHANGED
@@ -730,6 +730,12 @@ export class EnvironmentComponent implements OnInit {
|
|
730 |
}
|
731 |
}
|
732 |
|
|
|
|
|
|
|
|
|
|
|
|
|
733 |
onSTTEngineChange() {
|
734 |
console.log('onSTTEngineChange called with:', this.environment.stt_engine);
|
735 |
console.log('Current stt_settings:', this.environment.stt_settings);
|
|
|
730 |
}
|
731 |
}
|
732 |
|
733 |
+
onTTSEngineChange() {
|
734 |
+
if (this.environment.tts_engine === 'no_tts') {
|
735 |
+
this.environment.tts_engine_api_key = '';
|
736 |
+
}
|
737 |
+
}
|
738 |
+
|
739 |
onSTTEngineChange() {
|
740 |
console.log('onSTTEngineChange called with:', this.environment.stt_engine);
|
741 |
console.log('Current stt_settings:', this.environment.stt_settings);
|