Closed Slug-Cat closed 1 year ago
It should be possible to create an extension that shows a table with the characters and their images using an HTML gradio element. That would be pretty cool.
It wouldn't be selectable though.
https://github.com/oobabooga/text-generation-webui/wiki/Extensions
Here it is. It doesn't do anything, but it at least gives a reference for each character. Use with
--extensions gallery
Source: https://github.com/oobabooga/text-generation-webui/blob/main/extensions/gallery/script.py
Here it is. It doesn't do anything, but it at least gives a reference for each character. Use with
--extensions gallery
Source: https://github.com/oobabooga/text-generation-webui/blob/main/extensions/gallery/script.py
Neato. Not exactly what I had in mind, but it serves the same purpsoe well enough. Thanks.
The elements are clickable now too.
https://github.com/oobabooga/text-generation-webui/commit/7a776ccf8715bbe4e6934772fd135d54e4d24f78
A feature I particularly like in TavernAI is the presence of accompanying images for characters who have them in the selection menu. I don't know how this would work with Gradio, but it would be quite convenient when searching through the long list of names without referring back to the images in the character folder.