-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuseragree.html
More file actions
31 lines (30 loc) · 1.18 KB
/
useragree.html
File metadata and controls
31 lines (30 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html>
<head>
<title>ROAI</title>
<meta charset="UTF-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/addons/p5.dom.min.js"></script>
<script src="ml5.min.js" type="text/javascript"></script>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<br>
<p>
<h1>Legal Aid</h1>
<p>
A text generator using a charRNN model trained on privacy policies and legal agreements. Put in the sentence you are stuck in under seed text and press generate. By moving the slider, you can change the nature of the AI's predictions <a href="index.html">Home</a>.
</p>
<textarea id="result" readonly></textarea>
<input id="textInput" value="Your sentence goes here " type="text"/>
<!-- <button id="start">Generate</button> -->
<button id="generate">Generate</button>
<button id="reset">Reset</button>
<br><br>
Variance
<input id="tempSlider" type="range" min="0" max="1" step="0.01"><span id="temperature">0.5</span>
<br><br>
Model Status:
<span id="status">Loading</span>
<script src="useragree.js"></script>
</body>
</html>