LostRuins / koboldcpp

A simple one-file way to run various GGML and GGUF models with KoboldAI's UI
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.34k stars 310 forks source link

Is there a way to share story as plaintext? #928

Open AlexysLovesLexxie opened 2 weeks ago

AlexysLovesLexxie commented 2 weeks ago

I'm looking for a way to share/export my story as plaintext to allow for easier sharing/editing of the story?

The "export story as textdata" function (from the load/save dialog's "share" option) produces the following:

Screenshot 2024-06-17 001348

Could an "export to textfile" option please be added?

LostRuins commented 2 weeks ago

Sure, actually its as easy as just copying the story from the clipboard and pasting it into a text document. But I can probably add an option to download txt as well.

AlexysLovesLexxie commented 2 weeks ago

That would be awesome, thanks.

On Mon., Jun. 17, 2024, 12:41 a.m. LostRuins Concedo, < @.***> wrote:

Sure, actually its as easy as just copying the story from the clipboard and pasting it into a text document. But I can probably add an option to download txt as well.

— Reply to this email directly, view it on GitHub https://github.com/LostRuins/koboldcpp/issues/928#issuecomment-2172527750, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6I5UHO54E2QU534NDMRQ5LZH2HJ7AVCNFSM6AAAAABJNNTOFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZSGUZDONZVGA . You are receiving this because you authored the thread.Message ID: @.***>

LostRuins commented 1 week ago

Added in the latest released version, please try it.

AlexysLovesLexxie commented 1 week ago

Added in the latest released version, please try it.

How my story looks in the interface : Screenshot 2024-06-19 023032

How my story looks after exporting as plaintext and pasting into Notepad : Screenshot 2024-06-19 023113

it does not seem to keep the formatting when I export. I can always fix this manually, but I had hoped it would at least keep the line-feeds.

But it is functional. At this point, copying the buffer is actually the better solution, though.