Commit Graph

6 Commits

Author SHA1 Message Date
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