Added --remote Mode

First step towards native Colab support, built in Cloudflare tunnels easily allows players to play KoboldAI on another device. This mode also removes buttons that would get you stuck if you have no local PC access.
This commit is contained in:
henk717
2021-08-20 00:37:59 +02:00
parent 9760c159fd
commit 136dd71171
6 changed files with 34 additions and 6 deletions

View File

@ -926,6 +926,8 @@ $(document).ready(function(){
$("#setadventure").prop('checked', msg.data).change();
// Update adventure state
setadventure(msg.data);
} else if(msg.cmd == "runs_remotely") {
hide([button_loadfrfile, button_savetofile, button_import, button_importwi]);
}
});