diff --git a/teachablemachine_20201012/teachablemachine_esp32cam_stream.js b/teachablemachine_20201012/teachablemachine_esp32cam_stream.js index 246a50d50e..431bd968da 100644 --- a/teachablemachine_20201012/teachablemachine_esp32cam_stream.js +++ b/teachablemachine_20201012/teachablemachine_esp32cam_stream.js @@ -15,7 +15,7 @@ window.onload = function () { var Model; var maxPredictions; - ShowImage.src = window.location.hostname+':81/?stream'; + ShowImage.src = 'http://'+window.location.hostname+':81/?stream'; ShowImage.style.visibility = "visible"; setTimeout(function(){ShowImage.style.visibility = "hidden";loadModel();}, 5000);