Commit Graph

104 Commits

Author SHA1 Message Date
Cohee
36e6bfaf44 Merge branch 'main' into neo 2023-08-05 15:29:50 +03:00
Cohee
0c09107dd4 Add Python 3.11 recommendation nudge 2023-08-05 15:06:24 +03:00
joe
dbc7e07c0a Emotion Animation changes Staging 2023-08-05 17:02:53 +09:00
joe
5f4671f8e8 Coqui TTS Cpu/Gpu Flag Fix 2023-08-04 16:24:50 +09:00
joe
d1e2efedba Perfomance Increase and cleanup 2023-08-04 08:32:02 +09:00
joe
05a12822a7 WIP Updates to CTRL C hang up 2023-08-02 09:58:22 +09:00
Cohee
bfdf62765d Load live2d by posting a file 2023-08-01 23:57:32 +03:00
joe
ef8e0493e8 added live2d Arg for gpu or cpu mode 2023-08-01 07:32:32 +09:00
Cohee
38b6403ca1 Port chromadb update from neo 2023-07-31 22:14:42 +03:00
Cohee
d47cb539ad Merge pull request #96 from Tony-sama/neo
Restored speech recognition streaming mode as an independant module.
2023-07-31 20:42:40 +03:00
Tony Ribeiro
912c4335c2 Restored speech recognition streaming mode as an independant module. Perform audio recording using mic on server side, detect voice start/end with vosk and transcript with whisper. 2023-07-31 18:50:44 +02:00
donlinglok
abecb1ca5b Update server.py 2023-07-31 22:05:26 +08:00
donlinglok
c19e6d3881 Update server.py 2023-07-31 22:02:31 +08:00
donlinglok
17d622d7bf Update server.py 2023-07-31 21:56:03 +08:00
donlinglok
1dce09959e Update server.py for new chroma 2023-07-31 21:38:02 +08:00
joe
3673766580 Live2d Init 2023-07-31 08:35:30 +09:00
SillyLossy
3975a3a179 Fix Chromadb client creation 2023-07-30 01:19:39 +03:00
Tony Ribeiro
d528c5e5ad merge speech recoginition module with neo branch. 2023-07-27 20:29:17 +02:00
SillyLossy
9b1e3d1250 Add coqui model preload 2023-07-26 22:49:44 +03:00
Cohee
b5d35f470f Migrate coqui module to neo branch 2023-07-25 17:08:05 +03:00
Cohee
5cd40e0520 Fix coqui TTS module 2023-07-25 12:46:17 +03:00
SillyLossy
0b25aff3e1 Hardcode test.wav path 2023-07-09 21:46:45 +03:00
50h100a
61bf91c182 Enhance logging. 2023-07-08 04:36:33 -04:00
50h100a
57fc3485d9 Don't scream when accessing an empty/missing collection.
(it's usually expected behavior)
2023-07-08 04:30:57 -04:00
Blueprint Coding
57be2e167a Silero TTS Fix for "File already exists"
Added fix for Silero not working as new files were unable to be created if one already existed.
2023-07-07 13:30:14 -06:00
BlipRanger
4ada6d3c7f Minimum error handling for bad chroma requests 2023-07-05 22:49:08 -04:00
Blueprint Coding
3227e1c196 Updated Silero TTS to be compatible with STSL
Had to add absolute pathing for SILERO_SAMPLES_PATH, SILERO_SAMPLE_TEXT, & audio to set the extras directory based on the parent folder. Because of STSL dynamic install locations they were getting placed in the STSL folder instead of extras.

Should not effect regular launching via python.
2023-07-04 13:05:19 -06:00
YellowRoseCx
b17211bafa fix cpu mode
adds back "and not args.cpu" to device_string otherwise cpu mode will never trigger if a cuda device is installed in the machine
2023-06-30 00:13:20 -05:00
majick
dea4254e01 Fix: inverted sense bug with cuda sd float32
Inverting the use of float16 with SD on cuda was introduced with my MPS
hack.  Fixed.
Also, make the MPS changes more consistent with cuda_device, since we
don't need a hardcoded value any more.
2023-06-28 14:19:59 -07:00
majick
aee5e71e45 First pass at Apple Silicon MPS back end 2023-06-28 11:11:38 -07:00
SillyLossy
5b8d9e2c92 [Feature request] Specify which GPU to use if CUDA is selected as a command line argument. #65 2023-06-26 11:24:05 +03:00
SillyLossy
24ea1e8a19 Lint spaces 2023-06-25 21:02:29 +03:00
BlipRanger
5b4753b719 Respect requested query number 2023-06-25 01:01:03 -04:00
BlipRanger
7b733e7498 Initial work on multichat chroma 2023-06-24 14:49:08 -04:00
SillyLossy
ff0e9a0ba3 Merge branch 'main' of https://github.com/Cohee1207/SillyTavern-extras 2023-06-24 21:32:08 +03:00
SillyLossy
01d6c9a431 Add ignore of tts samples to API key 2023-06-24 21:31:49 +03:00
SillyLossy
6386caabec Fix CUDA mode. 2023-06-22 12:15:31 +03:00
johnbenac
add7daa61b sorts messages in ChromaDB export by 'date' order 2023-06-22 00:25:53 -04:00
SillyLossy
db0b232903 Extra modules (except SD) now use CPU by default 2023-06-18 21:51:31 +03:00
BlipRanger
13628591e9 Line removal 2023-06-17 20:53:03 -04:00
BlipRanger
7d5582584e Make chromadb persistence optional
Allows for the use of the `--chroma-persist` and `--no-chroma-persist` args. Still defaults to true.
2023-06-17 20:51:42 -04:00
SillyLossy
eb7c4b68ff #53 Fix buffering of SD output image 2023-06-11 13:42:30 +03:00
SillyLossy
bb0ae04976 Add rate to Edge TTS 2023-06-10 15:37:37 +03:00
SillyLossy
34b1b3afda Add response compression 2023-06-04 15:00:13 +03:00
SillyLossy
c9e1ced4f2 Add editorconfig 2023-06-04 12:40:36 +03:00
SillyLossy
a707dd02ff [Feature] Edge Text to speech #34 2023-06-04 12:38:36 +03:00
SillyLossy
a0000347e9 Remove unused modules 2023-06-04 01:58:49 +03:00
SillyLossy
befdc746c5 Remote ChromaDB REST api errors #42 2023-06-04 01:37:33 +03:00
kingbri
8381305f70 Server: Add API key for security
When the extras server was hosted publicly, there was a huge security
risk of anyone finding a cloudflare tunnel URL and directly querying
API routes.

However, this had a simple solution of implementing middleware to check
if a generated API key is valid. Since the server is simple, the API
key is a string of bytes stored in a textfile. If that textfile is
deleted, extras will automatically create a new API key/textfile.

Additionally, this is enabled via an optional argument to prevent
local user irritation.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-02 22:26:54 -04:00
BlipRanger
bf59b363ca Add persistence to chromadb
Saves chromadb to specified persistence folder (with default being .chroma_db). Purge correctly purges persistence folder.
2023-05-30 18:14:00 -04:00