Commit Graph

17 Commits

Author SHA1 Message Date
Divided by Zer0 c858452740 Added logger to fileops 2022-09-12 12:00:30 +02:00
Gnome Ann a3a52dc9c3 Add support for changing soft prompt from userscripts 2022-04-12 15:59:05 -04:00
Gnome Ann 2b8c46338e Change current working directory to KoboldAI folder 2022-03-13 01:22:11 -05:00
henk717 4835192041 Load TK on demand 2022-03-06 14:12:01 +01:00
Gnome Ann 1951ccd2ce Show author and SP length in soft prompt menu 2022-01-18 16:30:09 -05:00
Gnome Ann d870f193b2 Create userscripts folder if it doesn't exist 2021-12-13 02:33:36 -05:00
Gnome Ann d2f5544468 Add Userscripts menu into GUI 2021-12-13 01:03:26 -05:00
Gnome Ann 1f449a9dda Soft prompt support (6B Colabs not supported yet) 2021-10-22 14:18:10 -04:00
Gnome Ann e31640a89d Remove unused "import string" from fileops.py 2021-09-01 12:26:08 -04:00
Gnome Ann c276220a35 Allow deleting and renaming stories in the browser 2021-08-31 18:22:30 -04:00
Gnome Ann cbdf3fa037 Display names of problematic story JSON files 2021-08-24 19:29:40 -04:00
Marcus Llewellyn d5522f0d0a Yet another silly mistake. Sigh. 2021-06-25 17:31:43 -05:00
Marcus Llewellyn f9db17025d
Ack! Forgot a continue statement. 2021-06-25 17:17:07 -05:00
Marcus Llewellyn bbe3a92ce4 Fixes for unusual story loading circumstances.
This PR does three things when loading a story from within the browser:

1. Prevents an error if a story file is not valid JSON.
2. Catches an error is a file is JSON, but lacks an actions property.
3. Replaces getcwd() and instead uses the path of the script file itself in case someone does not start the app from the current working directory.
2021-06-25 17:02:19 -05:00
KoboldAI Dev f9bbb174a6 Added OpenAI API support
Added in-browser Save/Load/New Story controls
(Force a full refresh in your browser!)
Fixed adding InferKit API key if client.settings already exists
Added cmd calls to bat files so they'll stay open on error
Wait animation now hidden on start state/restart
2021-05-22 05:28:40 -04:00
KoboldAI Dev 2cef3bceaf Bugfix for save function not appending .json extension by default
Bugfix for New Story function not clearing World Info from previous story
Torch will not be initialized unless you select a local model, as there's no reason to invoke it for InferKit/Colab
Changed JSON file writes to use indentation for readability
2021-05-15 19:29:41 -04:00
KoboldAI Dev d632976fbf Settings menu modularized.
Help text added to settings items.
Settings now saved to client file when changed.
Separated transformers settings and InferKit settings.
Reorganized model select list.
2021-05-07 14:32:10 -04:00