ScholarCopilot / index.html
ubowang's picture
Update index.html
935d690 verified
<!DOCTYPE html>
<html lang="en" style="height: 100%; margin: 0;">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Scholar Copilot</title>
<style>
body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
#gradioIframe {
width: 100%;
height: 100%;
border: none;
display: block;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function() {
var gradioURL = "https://fdd1029f29b5704f14.gradio.live/";
var iframe = document.getElementById("gradioIframe");
var link = document.getElementById("gradioLink");
if (iframe) iframe.src = gradioURL;
if (link) link.href = gradioURL;
});
</script>
</head>
<body>
<iframe id="gradioIframe">
Your browser does not support iframes. Please click this <a id="gradioLink">url</a>.
</iframe>
</body>
</html>