stream.wasm : add web-based real-time transcription (#112)

This commit is contained in:
Georgi Gerganov
2022-11-25 23:57:46 +02:00
parent be16dfa038
commit 3c390ffe38
9 changed files with 679 additions and 9 deletions

View File

@ -61,10 +61,10 @@ void talk_main(size_t index) {
wparams.print_timestamps = true;
wparams.print_special = false;
wparams.max_tokens = 32;
wparams.audio_ctx = 768; // partial encoder context for better performance
wparams.max_tokens = 32;
wparams.audio_ctx = 768; // partial encoder context for better performance
wparams.language = "en";
wparams.language = "en";
g_gpt2 = gpt2_init("gpt-2.bin");