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 5aa562e commit a1c30f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/basic/sv-panoid.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h2>GoogleStreetViewLoader.load</h2>
<div id="errorDiv"></div>
<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>
<script type="module" src="https://gradio.s3-us-west-2.amazonaws.com/3.39.0/gradio.js" onload="document.getElementById('gradio').classList.remove('dark');"></script>
<gradio-app src="https://freealise-video-frame-interpolation.hf.space" id="gradio" class="light"></gradio-app>
</div>
<canvas width="1" height="1" style="display:none;"></canvas>
Expand All @@ -108,7 +108,6 @@ <h2>GoogleStreetViewLoader.load</h2>
var DownloadVideo = document.getElementById("DownloadVideo");

const gradio = document.getElementById("gradio");
gradio.classList.remove("dark");
const canvas = document.getElementsByTagName("canvas")[0];
const context = canvas.getContext("2d", {willReadFrequently: true});
const seq = document.getElementById("seq");
Expand Down

0 comments on commit a1c30f9

Please sign in to comment.