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
@@ -165,7 +165,7 @@
|
|
165 |
<mat-label>Language</mat-label>
|
166 |
<mat-select
|
167 |
name="sttLanguage"
|
168 |
-
[(ngModel)]="
|
169 |
[disabled]="loading"
|
170 |
>
|
171 |
<mat-option value="tr-TR">Turkish (tr-TR)</mat-option>
|
@@ -177,13 +177,13 @@
|
|
177 |
</mat-select>
|
178 |
<mat-icon matPrefix>language</mat-icon>
|
179 |
</mat-form-field>
|
180 |
-
|
181 |
<!-- Model -->
|
182 |
<mat-form-field appearance="outline" class="full-width" *ngIf="environment.stt_engine === 'google'">
|
183 |
<mat-label>Recognition Model</mat-label>
|
184 |
<mat-select
|
185 |
name="sttModel"
|
186 |
-
[(ngModel)]="
|
187 |
[disabled]="loading"
|
188 |
>
|
189 |
<mat-option value="latest_long">Latest Long (Best for long audio)</mat-option>
|
@@ -194,10 +194,10 @@
|
|
194 |
</mat-select>
|
195 |
<mat-icon matPrefix>model_training</mat-icon>
|
196 |
</mat-form-field>
|
197 |
-
|
198 |
<!-- Speech Timeout -->
|
199 |
<div class="slider-field">
|
200 |
-
<label>Speech Timeout: {{
|
201 |
<mat-slider
|
202 |
[min]="500"
|
203 |
[max]="5000"
|
@@ -205,56 +205,56 @@
|
|
205 |
[discrete]="true"
|
206 |
[displayWith]="formatMilliseconds"
|
207 |
>
|
208 |
-
<input matSliderThumb [(ngModel)]="
|
209 |
</mat-slider>
|
210 |
<mat-hint>Silence duration to end speech detection</mat-hint>
|
211 |
</div>
|
212 |
-
|
213 |
<!-- VAD Sensitivity -->
|
214 |
<div class="slider-field">
|
215 |
-
<label>Voice Activity Detection Sensitivity: {{
|
216 |
<mat-slider
|
217 |
[min]="0"
|
218 |
[max]="1"
|
219 |
[step]="0.1"
|
220 |
[discrete]="true"
|
221 |
>
|
222 |
-
<input matSliderThumb [(ngModel)]="
|
223 |
</mat-slider>
|
224 |
<mat-hint>Higher values = more sensitive</mat-hint>
|
225 |
</div>
|
226 |
-
|
227 |
<!-- Noise Reduction Level -->
|
228 |
<div class="slider-field">
|
229 |
-
<label>Noise Reduction Level: {{
|
230 |
<mat-slider
|
231 |
[min]="0"
|
232 |
[max]="3"
|
233 |
[step]="1"
|
234 |
[discrete]="true"
|
235 |
>
|
236 |
-
<input matSliderThumb [(ngModel)]="
|
237 |
</mat-slider>
|
238 |
<mat-hint>0 = Off, 3 = Maximum</mat-hint>
|
239 |
</div>
|
240 |
-
|
241 |
<!-- Checkboxes -->
|
242 |
<div class="checkbox-group">
|
243 |
<mat-checkbox
|
244 |
-
[(ngModel)]="
|
245 |
[disabled]="loading"
|
246 |
*ngIf="environment.stt_engine === 'google'">
|
247 |
Use Enhanced Model
|
248 |
</mat-checkbox>
|
249 |
|
250 |
<mat-checkbox
|
251 |
-
[(ngModel)]="
|
252 |
[disabled]="loading">
|
253 |
Enable Automatic Punctuation
|
254 |
</mat-checkbox>
|
255 |
|
256 |
<mat-checkbox
|
257 |
-
[(ngModel)]="
|
258 |
[disabled]="loading">
|
259 |
Show Interim Results
|
260 |
</mat-checkbox>
|
|
|
165 |
<mat-label>Language</mat-label>
|
166 |
<mat-select
|
167 |
name="sttLanguage"
|
168 |
+
[(ngModel)]="sttLanguage"
|
169 |
[disabled]="loading"
|
170 |
>
|
171 |
<mat-option value="tr-TR">Turkish (tr-TR)</mat-option>
|
|
|
177 |
</mat-select>
|
178 |
<mat-icon matPrefix>language</mat-icon>
|
179 |
</mat-form-field>
|
180 |
+
|
181 |
<!-- Model -->
|
182 |
<mat-form-field appearance="outline" class="full-width" *ngIf="environment.stt_engine === 'google'">
|
183 |
<mat-label>Recognition Model</mat-label>
|
184 |
<mat-select
|
185 |
name="sttModel"
|
186 |
+
[(ngModel)]="sttModel"
|
187 |
[disabled]="loading"
|
188 |
>
|
189 |
<mat-option value="latest_long">Latest Long (Best for long audio)</mat-option>
|
|
|
194 |
</mat-select>
|
195 |
<mat-icon matPrefix>model_training</mat-icon>
|
196 |
</mat-form-field>
|
197 |
+
|
198 |
<!-- Speech Timeout -->
|
199 |
<div class="slider-field">
|
200 |
+
<label>Speech Timeout: {{ sttSpeechTimeout }}ms</label>
|
201 |
<mat-slider
|
202 |
[min]="500"
|
203 |
[max]="5000"
|
|
|
205 |
[discrete]="true"
|
206 |
[displayWith]="formatMilliseconds"
|
207 |
>
|
208 |
+
<input matSliderThumb [(ngModel)]="sttSpeechTimeout">
|
209 |
</mat-slider>
|
210 |
<mat-hint>Silence duration to end speech detection</mat-hint>
|
211 |
</div>
|
212 |
+
|
213 |
<!-- VAD Sensitivity -->
|
214 |
<div class="slider-field">
|
215 |
+
<label>Voice Activity Detection Sensitivity: {{ sttVadSensitivity }}</label>
|
216 |
<mat-slider
|
217 |
[min]="0"
|
218 |
[max]="1"
|
219 |
[step]="0.1"
|
220 |
[discrete]="true"
|
221 |
>
|
222 |
+
<input matSliderThumb [(ngModel)]="sttVadSensitivity">
|
223 |
</mat-slider>
|
224 |
<mat-hint>Higher values = more sensitive</mat-hint>
|
225 |
</div>
|
226 |
+
|
227 |
<!-- Noise Reduction Level -->
|
228 |
<div class="slider-field">
|
229 |
+
<label>Noise Reduction Level: {{ sttNoiseReductionLevel }}</label>
|
230 |
<mat-slider
|
231 |
[min]="0"
|
232 |
[max]="3"
|
233 |
[step]="1"
|
234 |
[discrete]="true"
|
235 |
>
|
236 |
+
<input matSliderThumb [(ngModel)]="sttNoiseReductionLevel">
|
237 |
</mat-slider>
|
238 |
<mat-hint>0 = Off, 3 = Maximum</mat-hint>
|
239 |
</div>
|
240 |
+
|
241 |
<!-- Checkboxes -->
|
242 |
<div class="checkbox-group">
|
243 |
<mat-checkbox
|
244 |
+
[(ngModel)]="sttUseEnhanced"
|
245 |
[disabled]="loading"
|
246 |
*ngIf="environment.stt_engine === 'google'">
|
247 |
Use Enhanced Model
|
248 |
</mat-checkbox>
|
249 |
|
250 |
<mat-checkbox
|
251 |
+
[(ngModel)]="sttEnablePunctuation"
|
252 |
[disabled]="loading">
|
253 |
Enable Automatic Punctuation
|
254 |
</mat-checkbox>
|
255 |
|
256 |
<mat-checkbox
|
257 |
+
[(ngModel)]="sttInterimResults"
|
258 |
[disabled]="loading">
|
259 |
Show Interim Results
|
260 |
</mat-checkbox>
|