KoboldAI Dev
6a9587b61d
Merge pull request #27 from UWUplus/escape
...
HTML escape user prompt.
2021-06-02 15:40:17 -04:00
Ralf
e9b62cd3ae
escape the prompt too
2021-06-02 21:23:36 +02:00
KoboldAI Dev
1e95f7e1a5
Hotfix: HTML escaped story output. Shodan can no longer run JS popups in your browser.
2021-06-02 09:01:13 -04:00
KoboldAI Dev
de1f8f94e0
Merge pull request #25 from UWUplus/main
...
Moved scripts and stylesheets to a local file
2021-06-02 08:49:24 -04:00
Ralf
6f5c194297
Moved files from cdn to static directory
2021-05-31 16:30:40 +02:00
KoboldAI Dev
0dc997b93f
Merge pull request #24 from Javalar/refresh-story-perf
...
Performance increase for `refresh_story` on large stories
2021-05-30 01:58:54 -04:00
Yves Dubois
4cb3df5e7e
Performance increase for `refresh_story` on large stories
2021-05-29 21:36:24 -04:00
KoboldAI Dev
65ad0e01e3
Bugfix for InferKit submit failing when starting new story.
2021-05-29 20:43:30 -04:00
KoboldAI Dev
bed1eba6eb
Added option to generate multiple responses per action.
...
Added ability to import World Info files from AI Dungeon.
Added slider for setting World Info scan depth.
Added toggle to control whether prompt is submitted each action.
Added 'Read Only' mode with no AI to startup.
Fixed GPU/CPU choice prompt appearing when GPU isn't an option.
Added error handling to generator calls for CUDA OOM message
Added generator parameter to only return new text
2021-05-29 05:46:03 -04:00
KoboldAI Dev
2cc48e7163
Bugfix for Author's Note Depth slider not doing anything.
2021-05-22 22:06:10 -04: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
4996e0ff46
Bugfixes:
...
Improvements to pruning context from text returned from the AI
Colab errors should no longer throw JSON decode errors in client
Improved logic for World Info scanning
Fix for index error in addsentencespacing
2021-05-18 17:59:59 -04:00
KoboldAI Dev
3d070f057e
Bugfixes:
...
Expanded bad_word flagging for square brackets to combat Author's Note leakage
World Info should now work properly if you have an Author's Note defined
Set generator to use cache to improve performance of custom Neo models
Added error handling for Colab disconnections
Now using tokenized & detokenized version of last action to parse out new content
Updated readme
2021-05-17 20:28:18 -04:00
KoboldAI Dev
2721a5e64a
Merge pull request #12 from ioncorimenia/main
...
Merge fixes from ioncorimenia:
Support for older export bundles from AIDCAT
Don't import null value for Author's Note
2021-05-17 10:30:00 -04:00
ioncorimenia
0e855ef1d8
Catch some edge cases when importing
2021-05-17 16:00:32 +02:00
KoboldAI Dev
643e0105d8
Menu bar will now collapse to expandable button when screen size is too thin.
2021-05-17 00:42:47 -04:00
KoboldAI Dev
95cb94e979
Compatability update for latest AIDCAT export format
2021-05-16 17:45:21 -04:00
KoboldAI Dev
ce2e4e1f9e
Switched aidg.club import from HTML scrape to API call
...
Added square bracket to bad_words_ids to help suppress AN tag from leaking into generator output
Added version number to CSS/JS ref to address browser loading outdated versions from cache
2021-05-16 14:53:19 -04:00
KoboldAI Dev
47f1f7a85b
Corrected requests import location for aidg.club support
2021-05-16 05:37:38 -04:00
KoboldAI Dev
b05a73a04f
Added ability to import aidg.club scenarios
...
Changed menu bar to bootstrap navbar to allow for dropdown menus
2021-05-16 05:29:39 -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
429c9b13f5
Bug fixes for AIDCAT import issues.
...
Modified CSS to prevent Import dialog from expanding off the page.
Updated readme with Colab link.
2021-05-14 16:27:47 -04:00
KoboldAI Dev
5d53f1a676
It helps if you commit all the files in the bugfix
2021-05-14 02:39:36 -04:00
KoboldAI Dev
0e038b8727
Bugfix for Add Sentence Spacing format option
2021-05-14 02:24:05 -04:00
KoboldAI Dev
c9b6f89d1d
Hotfix for Google Colab generator call failing if when called from a fresh prompt.
2021-05-13 23:30:54 -04:00
KoboldAI Dev
3c0638bc73
Added support for running model remotely on Google Colab
2021-05-13 18:58:52 -04:00
KoboldAI Dev
0b113a75b4
Hotfix for tokenizer modifying spaced ellipses and breaking new text recognition.
2021-05-13 09:35:11 -04:00
KoboldAI Dev
c0736a8ec7
Added World Info
...
Added additional punctuation triggers for Add Sentence Spacing format
Added better screen reset logic when refresing screen or restarting server
2021-05-13 01:26:42 -04:00
KoboldAI Dev
fff77c5a88
Hotfix for top_p parameter in generator call
2021-05-11 14:16:34 -04:00
KoboldAI Dev
f520e859cf
Added link to subreddit for updates.
2021-05-11 01:54:45 -04:00
KoboldAI Dev
81c79131a4
Updated readme with import instructions for AID
2021-05-11 01:06:16 -04:00
KoboldAI Dev
1cc069a779
Added ability to import AIDungeon games from AIDCAT
2021-05-11 00:27:34 -04:00
KoboldAI Dev
b55266a7c8
Added Formatting options
...
Added Bootstrap toggle library for UI
Added injection points for input/output modification
2021-05-10 19:17:10 -04:00
KoboldAI Dev
0e0947d93a
Bugfix: Add apikey check to loadsettings
2021-05-10 09:33:41 -04:00
KoboldAI Dev
739a8a5268
Bugfix: Check for keys in client.settings before attempting to access
2021-05-10 09:26:31 -04:00
KoboldAI Dev
ba1ba0fc8a
Reduced default max_length parameter to 512.
...
Added warning about VRAM usage to Max Tokens tooltip.
2021-05-07 19:04:51 -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
KoboldAI Dev
ade5be39fb
Force bat file to launch aiserver.py with Python 3
2021-05-06 23:03:44 -04:00
KoboldAI Dev
a27d5beb36
Replaced easygui with tkinter to address file prompts appearing beneath game window
...
Removed easygui from requirements.txt
Save directory is no longer stored in save file for privacy
2021-05-05 11:18:24 -04:00
KoboldAI Dev
229b10cb91
Added support for Author's Note
...
Increased input textarea height
Removed generator options from save/load system
Set output length slider to use steps of 2
2021-05-05 03:04:06 -04:00
KoboldAI Dev
0ce77f4875
Fixed InferKit API requests sending a default top_p value instead of the user-selected value
2021-05-04 11:48:24 -04:00
KoboldAI Dev
f994d6d18b
Update requirements
2021-05-04 09:59:31 -04:00
KoboldAI Dev
6e54f654d6
Added settings menu to adjust generator parameters from game UI
...
Fixed text scrolling when content exceeded game screen height
2021-05-04 09:56:48 -04:00
KoboldAI Dev
1c9c219251
Added support for selecting custom trained models
2021-05-04 01:47:23 -04:00
KoboldAI Dev
734b0b54d4
Added VRAM requirements info to model list
...
Added ability to opt for CPU gen if you have GPU support
Added better error checking to model selection
2021-05-03 15:19:03 -04:00
KoboldAI Dev
1214062292
Fixed Max Length limits not being enforced for transformers & InferKit
2021-05-03 13:57:27 -04:00
KoboldAI Dev
40d9877ba8
Typo
2021-05-03 00:57:19 -04:00
KoboldAI Dev
2009f24345
Updated readme with GPU/CUDA support instructions
2021-05-03 00:56:29 -04:00
KoboldAI Dev
ace2b2db12
Fixing GPU support broke CPU support. Now testing for capabilities before creating pipeline
2021-05-03 00:24:16 -04:00
KoboldAI Dev
97ad42efe6
Added device selection to transformers pipeline request to utilize GPU for inference
2021-05-02 23:34:33 -04:00