@jajoosam/

HappyAdorableCharacterset

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • data
  • script.js
  • style.css

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.9176596675116646","path":"index.html","file":{"path":"index.html","content":{"asEncoding":{"base64":"PCEtLQogQ29weXJpZ2h0IChjKSAyMDE4IG1sNQoKIFRoaXMgc29mdHdhcmUgaXMgcmVsZWFzZWQgdW5kZXIgdGhlIE1JVCBMaWNlbnNlLgogaHR0cHM6Ly9vcGVuc291cmNlLm9yZy9saWNlbnNlcy9NSVQKLS0+Cgo8aHRtbD4KCjxoZWFkPgogIDxtZXRhIGNoYXJzZXQ9IlVURi04Ij4KICA8dGl0bGU+SW50ZXJhY3RpdmUgTFNUTSBUZXh0IEdlbmVyYXRpb24gRXhhbXBsZSB1c2luZyBwNS5qczwvdGl0bGU+CgogIDxzY3JpcHQgc3JjPSJodHRwczovL2NkbmpzLmNsb3VkZmxhcmUuY29tL2FqYXgvbGlicy9wNS5qcy8wLjYuMC9wNS5taW4uanMiPjwvc2NyaXB0PgogIDxzY3JpcHQgc3JjPSJodHRwczovL2NkbmpzLmNsb3VkZmxhcmUuY29tL2FqYXgvbGlicy9wNS5qcy8wLjYuMC9hZGRvbnMvcDUuZG9tLm1pbi5qcyI+PC9zY3JpcHQ+CiAgPHNjcmlwdCBzcmM9Imh0dHBzOi8vdW5wa2cuY29tL21sNUAwLjEuMi9kaXN0L21sNS5taW4uanMiIHR5cGU9InRleHQvamF2YXNjcmlwdCI+PC9zY3JpcHQ+CgogIDxzdHlsZT4KICAjb3JpZ2luYWwgewogICAgYmFja2dyb3VuZC1jb2xvcjogI0VFRTsKICAgIHBhZGRpbmc6IDRweCAwcHggNHB4IDRweAogIH0KCiAgI3ByZWRpY3Rpb24gewogICAgYmFja2dyb3VuZC1jb2xvcjogI0NDQzsKICAgIHBhZGRpbmc6IDRweCAwcHggNHB4IDBweAogIH0KCiAgPC9zdHlsZT4KPC9oZWFkP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39
40
41
42
43
44
45
46
47
48
<!--
 Copyright (c) 2018 ml5

 This software is released under the MIT License.
 https://opensource.org/licenses/MIT
-->

<html>

<head>
  <meta charset="UTF-8">
  <title>Interactive LSTM Text Generation Example using p5.js</title>

  <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="https://unpkg.com/[email protected]/dist/ml5.min.js" type="text/javascript"></script>

  <style>
  #original {
    background-color: #EEE;
    padding: 4px 0px 4px 4px
  }

  #prediction {
    background-color: #CCC;
    padding: 4px 0px 4px 0px
  }

  </style>
</head>

<script src="script.js"></script>

<body>
    <h1>Interactive LSTM Text Generation Example using p5.js</h1>
    <h2>This example uses a pre-trained model on a corpus of <a href="https://en.wikipedia.org/wiki/Virginia_Woolf">Virginia Woolf</a></h2>
  <textarea id="textInput" style="width: 300px; height: 50px;" placeholder="type here"></textarea>
  <br/> length:
  <input id="lenSlider" type="range" min="1" max="100" value="20"> <span id="length">20</span>
  <br/> temperature:
  <input id="tempSlider" type="range" min="0" max="1" step="0.01"><span id="temperature">0.5</span>
  <p id="status">Loading Model</p>
  <p id="result">
    <span id="original"></span><span id="prediction"></span>
  </p>
</body>

</html>
result
console