Spaces:
Running
Running
Revert recent sampling change
Browse filesIt does not actually help and seems to produce worse results on some of
the samples
- .gitignore +1 -0
- whisper.cpp +1 -1
.gitignore
CHANGED
|
@@ -9,3 +9,4 @@ out/
|
|
| 9 |
.vs/
|
| 10 |
.vscode/
|
| 11 |
compile_commands.json
|
|
|
|
|
|
| 9 |
.vs/
|
| 10 |
.vscode/
|
| 11 |
compile_commands.json
|
| 12 |
+
.DS_Store
|
whisper.cpp
CHANGED
|
@@ -2425,7 +2425,7 @@ int whisper_full(
|
|
| 2425 |
whisper_token id = 0;
|
| 2426 |
whisper_token tid = whisper_token_beg(ctx);
|
| 2427 |
|
| 2428 |
-
id = whisper_sample_best(ctx, result_len == 0
|
| 2429 |
if (i > 0) {
|
| 2430 |
tid = whisper_sample_timestamp(ctx);
|
| 2431 |
}
|
|
|
|
| 2425 |
whisper_token id = 0;
|
| 2426 |
whisper_token tid = whisper_token_beg(ctx);
|
| 2427 |
|
| 2428 |
+
id = whisper_sample_best(ctx, result_len == 0);
|
| 2429 |
if (i > 0) {
|
| 2430 |
tid = whisper_sample_timestamp(ctx);
|
| 2431 |
}
|