turboderp / exui

Web UI for ExLlamaV2
MIT License
449 stars 43 forks source link

Notepad: generate and token buttons disabled before writeing something in the context #58

Open IMbackK opened 4 months ago

IMbackK commented 4 months ago

in the notepad the generate and token buttons are greyed out until the user writes something in the context. This seams pretty pointless as the default context contains "Once upon a time" and there is no reason to prevent the user from just starting generation there, this is esp usefull when just testing a model for basic coherent output.

turboderp commented 4 months ago

This is mostly just to simplify the code. It doesn't actually create the new notepad session until you change something about it. The way the interface is built it would be a little cumbersome to have the button create a new session, but I'll see what I can do.

IMbackK commented 4 months ago

May i suggest removing the default "once upon a time" if having the button create a session is too mutch work, as imo haveing something in the context by default but not allowing intimidate generation on that is extra awkward over not allowing generation on an empty context