Skip to content

Instantly share code, notes, and snippets.

@MattKovtun
Last active July 26, 2018 12:01
Show Gist options
  • Save MattKovtun/294003c451404890c8cb6b217861a379 to your computer and use it in GitHub Desktop.
Save MattKovtun/294003c451404890c8cb6b217861a379 to your computer and use it in GitHub Desktop.
let model;
const modelURL = 'http://localhost:5000/model';
const preview = document.getElementById("preview");
const predictButton = document.getElementById("predict");
const clearButton = document.getElementById("clear");
const numberOfFiles = document.getElementById("number-of-files");
const fileInput = document.getElementById('file');
const predict = async (modelURL) => {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment