From 9d0e621d20191ea53b1075708bbaf4f46717602a Mon Sep 17 00:00:00 2001 From: fustyles <34397289+fustyles@users.noreply.github.com> Date: Tue, 10 Oct 2023 23:08:35 +0800 Subject: [PATCH] Update teachablemachine_esp32cam_stream.js --- teachablemachine_20201012/teachablemachine_esp32cam_stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);