Spaces:
Running
Running
Update flare-ui/src/app/components/environment/environment.component.html
Browse files
flare-ui/src/app/components/environment/environment.component.html
CHANGED
@@ -111,18 +111,19 @@
|
|
111 |
>
|
112 |
<mat-icon matPrefix>key</mat-icon>
|
113 |
</mat-form-field>
|
114 |
-
</div>
|
115 |
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
|
|
|
|
126 |
|
127 |
<!-- STT Configuration -->
|
128 |
<div class="engine-row">
|
|
|
111 |
>
|
112 |
<mat-icon matPrefix>key</mat-icon>
|
113 |
</mat-form-field>
|
|
|
114 |
|
115 |
+
<mat-checkbox
|
116 |
+
name="ttsUseSSML"
|
117 |
+
[(ngModel)]="ttsSettings.use_ssml"
|
118 |
+
[disabled]="loading || !isTTSProviderSSMLCapable()"
|
119 |
+
*ngIf="environment.tts_engine !== 'no_tts'">
|
120 |
+
Use SSML
|
121 |
+
</mat-checkbox>
|
122 |
+
<mat-hint *ngIf="isTTSProviderSSMLCapable() && environment.tts_engine !== 'no_tts'">
|
123 |
+
SSML provides better control over pronunciation, pauses, and emphasis
|
124 |
+
</mat-hint>
|
125 |
+
|
126 |
+
</div>
|
127 |
|
128 |
<!-- STT Configuration -->
|
129 |
<div class="engine-row">
|