Commit Graph

4791 Commits

Author SHA1 Message Date
0cc4m
748e5ef318 Add sliders for exllama context size and related methods 2023-07-23 07:11:28 +02:00
somebody
3995b3f93b WI: Make delete button pretty 2023-07-22 18:18:21 -05:00
somebody
bd542336f9 WI: Make the noun thingey more intuitive 2023-07-22 18:12:30 -05:00
somebody
65cf6806a8 WI: Enter to save name 2023-07-22 18:04:35 -05:00
somebody
132ed1b507 UI: Make experimental tooltip more ominous
The current tooltip made it sound more like "beta features" than "pre
pre pre pre alpha features"
2023-07-22 17:53:28 -05:00
somebody
33cec5cc9c UI: Fix visual inconsistancies in sidebar 2023-07-22 17:45:02 -05:00
somebody
432418ed1e UI: Possibly more clear tooltips 2023-07-22 17:44:32 -05:00
somebody
ccbfad1a13 UI: Make welcome text links have underlines
Would love to make em' a different color but that would require going
through all the themes and im laaaazy
2023-07-22 17:35:16 -05:00
somebody
c7b128829c WI: Fix visual oddness with more than one row of tags 2023-07-22 17:30:43 -05:00
somebody
6b26cbbd0a Backends: Fix ReadOnly
Since somewhere in the pipeline ReadOnly is ignored, the bug wasn't
actually apparent unless using things like the Robot Button in WI cards.
2023-07-22 17:20:40 -05:00
somebody
68c6030ab0 WI: Don't explode when user uploads image without a save
This is a band-aid on an underlying problem: there is no save directory
to put blobs like images in before the user saves the game. The way
forward is probably to have an in-memory (no disk, Colab privacy (thats
kind of an oxymoron)) folder or something. I want to expand the data
storage functionality into an api in the future so devs can seamlessly
do something like:

Data.get_file_contents("image/blahblah.png")

and they won't have to actually worry about stuff like this
2023-07-22 17:04:45 -05:00
somebody
cf27d44f62 WI: Tag polish
- make the button thingeys look more button-ey
- enter now saves the focused tag and focuses the placeholder tag
- reduced code duplication for primary vs secondary and normal vs
  placeholder tags
2023-07-22 16:50:29 -05:00
Henk
7a5d813b92 Reimplement HF workaround only for llama 2023-07-22 16:59:49 +02:00
Henk
8dd7b93a6c HF's workaround breaks stuff 2023-07-22 16:29:55 +02:00
Henk
fa9d17b3d3 HF 4.31 2023-07-22 15:25:14 +02:00
somebody
bc8ba91429 Private Mode improvements
- cleaned up ui a bit
- disallow setting empty password (user could press the hotkey by
  mistake and be confused), giving the user a notification if they try
  to.
- gives the login attempter a message if the password is incorrect, as
  well as screaming in the logs
- obscures story name in page title
2023-07-21 21:44:10 -05:00
Henk
7823da564e Link to Lite 2023-07-22 04:04:17 +02:00
somebody
a93c9d20b1 Don't let logo container gobble up clicks 2023-07-21 19:01:51 -05:00
somebody
79b1ef1aac Fix "hide welcome logo" tweak 2023-07-21 19:01:40 -05:00
somebody
9188323331 Biases: Don't crash on empty token seq 2023-07-21 18:56:29 -05:00
somebody
5f4216730e Make logit bias work correctly(?) when prob is -inf
samplers'll do that to you

though now i am curious: what kind of effect would running the bias
before the samplers have? maybe a future option
2023-07-21 18:33:35 -05:00
somebody
418f341560 Fix a/n depth being visually apart from a/n 2023-07-21 18:13:57 -05:00
somebody
560fb3bd2d Fix occasional action highlight issue 2023-07-21 18:08:21 -05:00
henk717
83e5c29260 Merge pull request #413 from one-some/bug-hunt
Fix WI comment editing
2023-07-22 00:34:46 +02:00
somebody
e68972a270 Fix WI comments 2023-07-21 16:14:13 -05:00
somebody
6e7b0794ea Context Menu: Fix for elements with a context-menu attribute but...
...without an entry in `context_menu_items`.
2023-07-21 15:40:07 -05:00
somebody
e5d0a597a1 Generation Mode: UNTIL_EOS
This mode enables the EOS token and will generate infinitely until
hitting it.
2023-07-21 15:36:32 -05:00
somebody
c78401bd12 Fix gen mode on first generation 2023-07-21 15:22:14 -05:00
somebody
8d5ae38b45 Context Menu: Show if gen mode is supported
- adds callback support to `enabledOn` in context menu items
- adds `supported_gen_modes` variable for frontend to check if a gen
  mode is supported
- adds `get_supported_gen_modes` to `InferenceModel` to get supported
  gen modes
- takes advantage of cool enum features for less enum-handling code
2023-07-21 14:29:41 -05:00
somebody
b8671cce09 Context Menu: Change positioning algorithm for y-axis 2023-07-21 13:48:23 -05:00
somebody
1c4157a41b Maybe another time
too many ideas at once
2023-07-21 13:33:38 -05:00
somebody
3a43b254b8 Add basic support for some of the quick stoppers 2023-07-21 13:27:30 -05:00
Henk
a17d7aae60 Easier english 2023-07-21 19:42:49 +02:00
Henk
da9b54ec1c Don't show API link during load 2023-07-21 19:31:38 +02:00
somebody
fa0a099943 Update comment 2023-07-21 10:38:17 -05:00
Henk
432cdc9a08 Fix models with good pad tokens 2023-07-21 16:39:58 +02:00
Henk
ec745d8b80 Dont accidentally block pad tokens 2023-07-21 16:25:32 +02:00
onesome
6cf63f781a YEAAAAAAAAAA 2023-07-21 01:58:57 -05:00
onesome
46c377b0c3 Context Menu: Add stubs for new temporary stoppingcriteria idea
I think this would be cool!

Ideas:
    - disable/grey when model doesnt support stopping criteria
    - shortcuts (maybe, this would def be a power user thing)
    - option to generate until EOS token
    - option to generate forever until user manually stops
    - (not super related but pixels away) make retry while generation is
        ongoing cancel generation and retry. same with undo.
2023-07-21 00:53:48 -05:00
onesome
4921040fb4 Context Menu: Make things a little less bloaty
5px was a bit excessive
TODO: studied the context menu in my browser for a bit and noticed that
if it was going to be too close to the bottom, the browser changes the
vertical direction the context menu goes. sounds neat!
2023-07-21 00:52:12 -05:00
onesome
34a98d2962 Context Menu: Small visual fixes
woohooooo back to css
- fixes margins to look better
- moves contents of context menu items 1px down
- fixes context menus near edge wrapping their inner text (ew)
2023-07-21 00:48:02 -05:00
somebody
4335d1f46a API: Fix /world_info 2023-07-19 13:18:45 -05:00
somebody
2d80f2ebb5 API: Fix getstorynums 2023-07-19 13:08:57 -05:00
somebody
9726d12ede API: Fix /story/end (POST) 2023-07-19 13:05:35 -05:00
somebody
6da7a9629a API: Fix /story/load 2023-07-19 13:01:07 -05:00
somebody
b9b3cd3aba API: Fix /story 2023-07-19 12:02:53 -05:00
somebody
813e210127 Bump tiny API version
As we're adding a new (though optional) parameter to load endpoint
2023-07-19 11:52:49 -05:00
somebody
fef42a6273 API: Fix loading 2023-07-19 11:52:39 -05:00
henk717
dc4404f29c Merge pull request #409 from nkpz/bnb8bit
Configurable quantization level, fix for broken toggles in model settings
2023-07-19 14:22:44 +02:00
Nick Perez
9581e51476 feature(load model): select control for quantization level 2023-07-19 07:58:12 -04:00