21 Commits

Author SHA1 Message Date
felger
e23f3a6314
feature: 'kokoro-js' supports TTS #3412 (#3656)
* feature: 'kokoro-js' supports TTS #3412

* Linting, add credits for kokoro library

* Fix voice preview

* Fix display languages on previews

* Fix settings restoration. Debounce model init on settings change

* Fix engine sorting

* Move TTS processing to a web worker. Remove unused gain setting

* Speaking rate fix

* Update status when recreating a worker

* Pass voices list from TTS engine

* Call dispose function on provider change

* Extend worker init timeout to 10 minutes

---------

Co-authored-by: ryan <1014670860@qq.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-03-10 22:54:54 +02:00
Cohee
3ae858113b Set strict function binds in jsconfig 2024-12-06 21:50:08 +02:00
Cohee
b6f9c6480b unvendor: Move formula rendering from core to extensions 2024-10-17 10:08:00 +00:00
Cohee
e9a002bc2b unvendor: Replace droll 2024-10-17 08:12:28 +00:00
Cohee
e1694ede9d unvendor: Replace seedrandom 2024-10-17 02:19:47 +03:00
Cohee
7b0f7306c0 unvendor: Replace showdown 2024-10-17 01:51:35 +03:00
Cohee
ca844c8b0a unvendor: Replace Readability 2024-10-17 01:30:04 +03:00
Cohee
a32fe00e34 unvendor: Replace pdfjs-dist 2024-10-17 01:16:39 +03:00
Cohee
d5fdf307c8 unvendor: Replace handlebars 2024-10-17 00:34:07 +03:00
Cohee
1c4e87b25b unvendor: Replace localforage 2024-10-16 23:37:54 +03:00
Cohee
93137e3e2a [chore] Fix lint errors 2024-10-13 14:02:53 +03:00
Cohee
2e36f45e24 Fix types for dompurify and toastr 2024-10-06 19:51:59 +03:00
Cohee
680dc80649 Extend exclude list for frontend jsconfig 2024-10-06 19:26:37 +03:00
Wolfsblvt
6f7ef25369 Rework slash command enum values pt.2
- Fix jsconfig module resolution for imports in frontend scripts
- Add file with common slash command enum values
2024-06-17 03:30:52 +02:00
Cohee
eaeafde0e4 Use Readability to extract text from HTML 2024-02-29 16:37:52 +02:00
Cohee
e0bf2b8e3e [FEATURE_REQUEST] Sending PDF/HTML files? #1414 2023-11-29 17:51:30 +02:00
Cohee
f5fd15ffd2 #976 Return "Continue on send". Allow continuing the first chat message. Add debug function for i18n. 2023-08-24 15:13:04 +03:00
Cohee
bc5fc67906 Put tokenizer functions to a separate file. Cache local models token counts 2023-08-23 02:38:43 +03:00
Cohee
41cc86af9f Add example extension for chat variables. Allow registering custom text processing functions for extensions 2023-08-22 17:46:37 +03:00
Cohee
9deaec5877 More typechecks and comments 2023-08-22 14:30:49 +03:00
Cohee
e2bac7ec5f Add type checking and JSDoc comments to some utils 2023-08-22 13:07:24 +03:00