Commit Graph

403 Commits

Author SHA1 Message Date
ebolam
248994a610 Copy Paste Fix 2022-12-15 21:11:46 -05:00
ebolam
8dba339155 tweaked simple mode settings 2022-12-14 18:43:47 -05:00
ebolam
a7a6c10f6e Added in image generation for actions (clicking on text will swap image to that generation) 2022-12-14 14:29:51 -05:00
ebolam
50f9508ee7 Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-12-14 09:21:40 -05:00
ebolam
a27651ef1b Fix for world info duplication on loading story
Fix for dragging world info on top of new world info crashing
2022-12-14 09:15:59 -05:00
somebody
ff02a5444d A bit more polish 2022-12-12 22:38:31 -06:00
somebody
3b23d1f9c8 And the rest 2022-12-12 19:19:28 -06:00
somebody
62d4ed8f3e Add object_type as a WI parameter 2022-12-12 19:18:48 -06:00
somebody
3f037cda1f Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into ui2-story-review 2022-12-10 10:56:11 -06:00
somebody
68217a766b Don't make story.json a directory
The price of programming while sleepy
2022-12-10 10:52:59 -06:00
somebody
0b9fe1c71f Allow dicts to be synced, auto-upgrade story directories on load 2022-12-09 23:31:49 -06:00
somebody
d31ab1d648 Work on commentators 2022-12-09 23:31:28 -06:00
somebody
59864705f0 Recover easier from save shenanigans 2022-12-09 16:49:25 -06:00
somebody
f4c51b13e8 More details on load failure 2022-12-09 15:38:27 -06:00
ebolam
65c654cb2e Update for slow text generation 2022-12-09 14:43:12 -05:00
ebolam
a140ce1f85 Fix for United Merge error
Test of tortoise TTS code (framework for any slower TTS engine)
2022-12-07 15:12:57 -05:00
ebolam
fcacd53b62 Fix for long prompt audio generation 2022-12-06 18:58:27 -05:00
ebolam
430be39fca Final working token probability storage/transmit to UI. 2022-12-06 17:49:36 -05:00
ebolam
42026af675 Better probability support (multi-option without token streaming not working) 2022-12-06 14:33:59 -05:00
ebolam
645bdfe77d Fix for initial audio generation to not generate the prompt first (should be last to gen) 2022-12-06 10:40:08 -05:00
ebolam
93890b9034 Alt generate mode is enabled. Each generation will be sequential allowing for lower VRAM usage at potentially slower generation time 2022-12-06 10:06:24 -05:00
ebolam
4b51d0abd8 Fix for long text 2022-12-06 08:45:27 -05:00
ebolam
dee494a301 Fix for empty text and audio generation 2022-12-06 08:12:43 -05:00
ebolam
1f62f154a5 Added functional audio generation (requires ffmpeg installed or ffmpeg.exe in koboldai directory)
added load v1 story conversion to saved v2 story if loaded from disk
2022-12-05 20:52:38 -05:00
ebolam
a8f8129c97 Fix for duplicate world info bug 2022-12-05 18:48:10 -05:00
ebolam
84cfba782c Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-12-05 13:53:17 -05:00
ebolam
280c35b452 Added start to alternative multi-gen (linear instead of parallel). Non-functional
Continued stub for in UI soft prompt training.
Removed old xls to preset file code
2022-12-05 13:50:49 -05:00
somebody
9d228e6614 Add genre UI 2022-12-04 21:18:45 -06:00
somebody
34fce81209 Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into ui2-newsave 2022-12-01 19:16:53 -06:00
ebolam
5e7789f90b Fix 2022-12-01 08:48:47 -05:00
ebolam
88c536b194 Disable bitsandbytes if there are no GPUs with proper CUDA Compute capabilities (needs 7.2 or greater) 2022-12-01 08:46:35 -05:00
ebolam
20851485e0 Experimental 8-bit support (option will only show on linux systems) 2022-11-29 17:06:23 -05:00
somebody
ec854a808a More save stuff 2022-11-28 20:47:34 -06:00
somebody
735c4d770c Nicer api to access save directories and files 2022-11-28 17:28:46 -06:00
somebody
4ed1955aff Work on new save 2022-11-28 16:11:09 -06:00
ebolam
bcff1e6de7 Default Preset Fix 2022-11-27 18:18:45 -05:00
ebolam
3f8b6f3a37 Added back in default preset
Fix for unicorn theme for the progress bar
2022-11-27 15:59:37 -05:00
ebolam
38d18b526b Fix for issue 319 2022-11-27 11:40:44 -05:00
ebolam
5bf7c500ee Merge pull request #314 from pi6am/fix/simplify_append
Combine append and append_submit, add docstring to append.
2022-11-26 11:12:02 -05:00
Llama
8e538ba300 Combine append and append_submit, add docstring to append.
Combine the append and append_submit methods, and add an optional
parameter to append to indicate whether it is a submission.
Add a docstring to append.
2022-11-25 21:35:01 -08:00
ebolam
2d78d9400b Fix retry to not keep the action in the log 2022-11-25 20:14:14 -05:00
ebolam
37257ca6fd Merge pull request #308 from pi6am/fix/calc_ai_text
Several fixes to calc_ai_text and lua_compute_context
2022-11-25 18:09:52 -05:00
somebody
ec20b31931 Remove reset switch for sd web api
Automatically recover from errors
2022-11-24 23:37:19 -06:00
Llama
51f1121681 Several fixes to calc_ai_text and lua_compute_context
The method lua_compute_context no longer ignores its arguments.
  This restores support for overriding the submitted text and
  allowed WI entries and folders to lua_compute_context.
Add optional allowed_wi_entries and allowed_wi_folders parameters to
  calc_ai_text.  These allow restricting which WI is added to the
  context.  The default is no restriction.
Fix an issue in which streaming tokens were returned by calc_ai_text.
  This fixes an issue in which lua_compute_context would receive
  streamed tokens (only if token streaming was turned on).
Add docstrings to calc_ai_text and to_sentences.
Improve the regular expression used to split actions by sentence.
  The new regular expression allows quotation marks after punctuation
  to be attached to the sentence.
Improve the interaction between AN and WI depth and actions split
  by sentence.  The author's note was added after the sentence
  that pushed the action count up to or greater than the depth.
  This included "empty" actions from undoing actions, as well as
  continuation actions.  As a result, the author's note text
  was often inserted at the end of the context, which often prevented
  the model from generating coherent continuation text.
Consider sentence count in addition to action count for AN and WI depth.
Ignore completely empty actions when determining AN and WI depth.
Insert AN text before the sentence that crosses the AN depth, instead of
  after the sentence.  This means that at least one sentence from the
  action alwasy appears at the end of the context, which gives the AI
  something to continue from.
A few extremely minor optimizations from reducing redundant work.
  Pre-compile the sentence splitting regular expression.
  Don't join action sentences multiple times just to compute their
  length.
Fix a few typos and remove some commented out code.
2022-11-24 11:40:57 -08:00
ebolam
bdb540052f Fix for issue 307 2022-11-23 15:33:52 -05:00
somebody
a13228e05b Logo center fix 2022-11-23 14:10:41 -06:00
ebolam
773d143c86 Preset Rework 2022-11-22 21:27:36 -05:00
ebolam
b0e845f996 Fix for presets not setting 2022-11-22 19:26:37 -05:00
ebolam
ed38172871 First attempt at simple mode 2022-11-22 10:56:18 -05:00
ebolam
dd006c355b Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-11-19 19:04:20 -05:00