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
kingbri
05535f6b94
ChromaDB: Add connection to a remote server
...
ChromaDB can be run in a remote context using docker. However, there
is no inbuilt authentication solution yet according to the documentation.
Therefore, this method is only useful if a user want to connect to an
unauthenticated ChromaDB instance. Only use this on a local network
or with mesh solutions such as Tailscale/Zerotier.
Signed-off-by: kingbri <bdashore3@proton.me >
2023-05-30 13:08:56 -04:00
BlipRanger
9658808773
Add import / export functions for chromadb
...
Adds a quick way to dump all of the chromadb content for a given chat to a json file.
2023-05-29 13:08:07 -04:00
SillyLossy
0d69fb0406
Add chromadb purge method
2023-05-23 00:29:56 +03:00
Sanskar Tiwari
4c6ae72d94
move constants and run through black
2023-05-18 10:27:25 +05:30
Mark Ceter
71013c381f
Add arbitrary metadata to message
2023-05-17 18:37:22 +00:00
Mark Ceter
ed43eb0aa5
Remove debug print
2023-05-17 17:13:57 +00:00
Mark Ceter
6c281c3b59
Add chromadb
2023-05-17 17:10:16 +00:00
SillyLossy
586f6dbd74
Add restore faces and HR fix to remote SD
2023-05-17 16:20:36 +03:00
SillyLossy
a3cedf5ffb
Up quality of SD images a bit
2023-05-17 14:28:39 +03:00
SillyLossy
0a97211137
Fix SD scale float type matching
2023-05-17 13:55:39 +03:00
SillyLossy
42767bd6e8
Add Silero TTS server
2023-05-12 00:31:50 +03:00
SillyLossy
782694afe2
Replace default emotion model
2023-05-09 10:50:29 +03:00
SillyLossy
435dea1acd
Remove set model from SD call
2023-05-05 15:12:13 +03:00
SillyLossy
03b3557ec4
Save SD images
2023-05-05 14:03:55 +03:00
SillyLossy
5dd7dd2a8f
Add space between SD prefix and prompt
2023-05-04 17:59:44 +03:00
SillyLossy
0dc0dde12e
Add more parameters for SD module
2023-05-04 17:51:27 +03:00
SillyLossy
9f03572a15
(experimental) Add manual gc calls
2023-04-23 00:19:56 +03:00
SillyLossy
b0a36f4aaf
Add more stop words to summarized
2023-04-21 01:11:25 +03:00
SillyLossy
97f44b1695
Chat image thumbnailing
2023-04-18 00:26:20 +03:00
SillyLossy
51993137d5
Add console logging for extensions API
2023-04-17 23:29:37 +03:00
SillyLossy
154a0facb4
Text classify truncation
2023-04-14 13:50:58 +03:00
SillyLossy
28351a4ca8
Chunked summarization
2023-04-14 13:41:48 +03:00
Babnam
14b362a5f7
feature: more sd endpoints and parameters
...
Added sd endpoints for getting available models, current model, available samplers and setting the current model. In addition, added the ability to set the sampler, steps, cfg and model with the '/api/image' API call.
2023-04-11 20:55:03 +02:00
Babnam
bda0aec777
feature: implemented the ability to use a remote sd backend
2023-04-11 16:16:17 +02:00
SillyLossy
2ea8564520
Remove outdated stuff
2023-04-05 01:36:56 +03:00
SillyLossy
044708fff4
Properly dispose of poe client
2023-04-03 13:02:07 +03:00
SillyLossy
6536327bbe
Add print logging of poe messages
2023-04-01 17:41:12 +03:00
SillyLossy
3434b3af83
Add POE module
2023-03-30 16:36:38 +03:00
SillyLossy
a6b4dfd624
Add modules endpoint
2023-03-15 22:24:19 +02:00
SillyLossy
1756d869a2
Removed textcap model option (didn't work in all modes)
2023-03-13 02:04:17 +02:00
SillyLossy
76afd54e75
Add encoding to file open
2023-03-11 21:05:20 +02:00
SillyLossy
d840dad3ec
Upgrade default captioning model to large BLIP. Provide alternatives in colab
2023-03-09 23:41:08 +02:00
SillyLossy
e0c8d437f5
Trying to fix cloudflare again
2023-03-08 19:13:57 +02:00
SillyLossy
06f7245ded
Attempt to fix occasional A in summaries
2023-03-08 01:52:03 +02:00
SillyLossy
8bea447e8f
No modules print a message, but not exit
2023-03-07 21:30:39 +02:00
SillyLossy
ef94f27906
So long, stupid TTS. You won't be missed
2023-03-06 17:28:44 +02:00
SillyLossy
f8cb0d2beb
Move scipy import closer
2023-03-06 13:50:00 +02:00
SillyLossy
4eb0cdbfb0
Remove hardcoded images list
2023-03-06 01:25:06 +02:00
SillyLossy
4e006d3f97
Don't run every module by default
2023-03-05 15:20:58 +02:00
Cohee
efa63068dd
Update server.py
2023-03-05 12:14:04 +02:00
SillyLossy
ada45f2c70
Add TTS module
2023-03-04 16:55:32 +02:00
SillyLossy
8d7ecbc40d
Add memory system plugin
2023-03-04 00:24:56 +02:00
SillyLossy
9d52bd8122
Cloudflare fix (supposedly)
2023-03-02 22:42:03 +02:00
SillyLossy
4fcf49fde8
Use generic model names where possible
2023-03-02 18:57:23 +02:00
SillyLossy
a237b95cee
Add CORS and assets
2023-03-02 17:01:36 +02:00
SillyLossy
7668b3dd7e
Fix colab running
2023-03-01 22:17:59 +02:00
SillyLossy
34906e4f8f
Create UI extensions subsystem
2023-03-01 22:15:22 +02:00
SillyLossy
5fd7d96fe3
Add module system
2023-03-01 18:37:33 +02:00