mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2024-12-13 00:56:18 +01:00
229b10cb91
Increased input textarea height Removed generator options from save/load system Set output length slider to use steps of 2
177 lines
4.9 KiB
HTML
177 lines
4.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>KoboldAI Client</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
<script src="static/socket.io.min.js"></script>
|
|
<script src="static/application.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
|
|
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="static/custom.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="row" id="topmenu">
|
|
<div id="menuitems">
|
|
<div>
|
|
<button type="button" class="btn btn-primary" id="btn_newgame">New Story</button>
|
|
<button type="button" class="btn btn-primary" id="btn_save">Save</button>
|
|
<button type="button" class="btn btn-primary" id="btn_load">Load</button>
|
|
<div class="spacer"></div>
|
|
<button type="button" class="btn btn-primary" id="btn_settings">Settings</button>
|
|
</div>
|
|
<div id="connectstatusdiv">
|
|
<span id="connectstatus" class="color_orange">Waiting for connection...</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" id="settingsmenu">
|
|
<div class="settingitem">
|
|
<div class="settinglabel">
|
|
<div class="justifyleft">
|
|
Temperature
|
|
</div>
|
|
<div class="justifyright" id="settempcur">
|
|
0.0
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<input type="range" class="form-range airange" min="0.1" max="2" step="0.05" id="settemp">
|
|
</div>
|
|
<div class="settingminmax">
|
|
<div class="justifyleft">
|
|
0.10
|
|
</div>
|
|
<div class="justifyright">
|
|
2.00
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="settingitem">
|
|
<div class="settinglabel">
|
|
<div class="justifyleft">
|
|
Top p Sampling
|
|
</div>
|
|
<div class="justifyright" id="settoppcur">
|
|
0.0
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<input type="range" class="form-range airange" min="0.1" max="1" step="0.05" id="settopp">
|
|
</div>
|
|
<div class="settingminmax">
|
|
<div class="justifyleft">
|
|
0.10
|
|
</div>
|
|
<div class="justifyright">
|
|
1.00
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="settingitem">
|
|
<div class="settinglabel">
|
|
<div class="justifyleft">
|
|
Repetition Penalty
|
|
</div>
|
|
<div class="justifyright" id="setreppencur">
|
|
0.0
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<input type="range" class="form-range airange" min="1" max="2" step="0.05" id="setreppen">
|
|
</div>
|
|
<div class="settingminmax">
|
|
<div class="justifyleft">
|
|
1.00
|
|
</div>
|
|
<div class="justifyright">
|
|
2.00
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="settingitem">
|
|
<div class="settinglabel">
|
|
<div class="justifyleft">
|
|
Amount to Generate
|
|
</div>
|
|
<div class="justifyright" id="setoutputcur">
|
|
0
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<input type="range" class="form-range airange" min="10" max="500" step="2" id="setoutput">
|
|
</div>
|
|
<div class="settingminmax">
|
|
<div class="justifyleft">
|
|
10
|
|
</div>
|
|
<div class="justifyright">
|
|
500
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" id="gamescreen">
|
|
<span id="gametext">...</span>
|
|
</div>
|
|
<div class="row" id="actionmenu">
|
|
<div id="actionmenuitems">
|
|
<div>
|
|
<button type="button" class="btn btn-primary" id="btn_actedit">Edit</button>
|
|
<button type="button" class="btn btn-primary" id="btn_actmem">Memory</button>
|
|
<button type="button" class="btn btn-primary" id="btn_actundo">Back</button>
|
|
<button type="button" class="btn btn-primary" id="btn_actretry">Retry</button>
|
|
<button type="button" class="btn btn-primary hidden" id="btn_delete">Delete</button>
|
|
<span id="messagefield"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div id="inputrow">
|
|
<div id="inputrowleft">
|
|
<textarea class="form-control" id="input_text" placeholder="Enter text here"></textarea>
|
|
</div>
|
|
<div id="inputrowright">
|
|
<button type="button" class="btn btn-secondary" id="btnsend">Wait</button>
|
|
</div>
|
|
</div>
|
|
<div id="anoterowcontainer">
|
|
<div id="anoterow">
|
|
<div id="anoterowleft">
|
|
<div class="anotelabel">
|
|
Author's Note
|
|
</div>
|
|
<div class="anotefield">
|
|
<input class="form-control" type="text" placeholder="Author's Note" id="anoteinput">
|
|
</div>
|
|
</div>
|
|
<div id="anoterowright">
|
|
<div id="anoteslidelabel">
|
|
<div class="justifyleft">
|
|
Depth
|
|
</div>
|
|
<div class="justifyright" id="anotecur">
|
|
3
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<input type="range" class="form-range airange" min="1" max="5" step="1" id="anotedepth">
|
|
</div>
|
|
<div class="settingminmax">
|
|
<div class="justifyleft">
|
|
1
|
|
</div>
|
|
<div class="justifyright">
|
|
5
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |