Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created March 31, 2019 16:41
Show Gist options
  • Save NMZivkovic/835d06041b7a8f815ccd941274d79429 to your computer and use it in GitHub Desktop.
Save NMZivkovic/835d06041b7a8f815ccd941274d79429 to your computer and use it in GitHub Desktop.
<html>
<head>
<script src="https://unpkg.com/@tensorflow/[email protected]/dist/tf.js"></script>
<script src="https://unpkg.com/@tensorflow-models/[email protected]/dist/speech-commands.min.js"></script>
</head>
<body>
<section class='title-area'>
<h1>TensorFlow.js Speech Recognition</h1>
<p class='subtitle'>Using pretrained models for speech recognition</p>
</section>
<canvas id="canvas" width="1000" height="800" style="border:1px solid #c3c3c3;"></canvas>
<script src="script.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment