Instantly share code, notes, and snippets.

Embed
What would you like to do?
$(document).ready(function () {
// Ensure body resizes appropriately
$('body').css('height', $(window).height());
$(window).resize(function () {$('body').css('height', $(window).height());});
// Connect to Clarifai
const app = new Clarifai.App({
apiKey: 'YOUR_API_KEY'
});
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment