Skip to content

Commit

Permalink
Update sv-panoid.html
Browse files Browse the repository at this point in the history
  • Loading branch information
freealise authored Apr 24, 2024
1 parent 3223d66 commit 1eedb59
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/basic/sv-panoid.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h2>GoogleStreetViewLoader.load</h2>
<video id="seq" src="" muted controls></video>
<div style="width:320px;height:256px;overflow-x:visible;overflow-y:scroll">
<script type="module" src="https://gradio.s3-us-west-2.amazonaws.com/3.39.0/gradio.js"></script>
<gradio-app src="https://freealise-video-frame-interpolation.hf.space" id="gradio"></gradio-app>
<gradio-app src="https://freealise-video-frame-interpolation.hf.space?__theme=light" id="gradio"></gradio-app>
</div>
<canvas width="1" height="1" style="display:none;"></canvas>
<div id="canvasContainer"></div>
Expand Down Expand Up @@ -229,16 +229,13 @@ <h2>GoogleStreetViewLoader.load</h2>
canvases[0].height = canvases[k].height / 2;
context.drawImage(canvases[k], 0, 0, canvases[0].width, canvases[0].height);
k++;
} else if (k == canvases.length) {
context.fillRect(0, 0, canvases[0].width, canvases[0].height);
k++;
} else {
clearInterval(intv);
mediaRecorder.stop();
k=1;
}
}, 1000);
mediaRecorder.start(0);
setTimeout(mediaRecorder.start(), 500);
});

function copyDataUrl(e) {
Expand Down

0 comments on commit 1eedb59

Please sign in to comment.