gpt2_v2 / index.html
camparchimedes's picture
Update index.html
62f9cd7 verified
raw
history blame contribute delete
910 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Embedded OsloKollegaGPT App</title>
<script>
function disableCORS() {
var iframe = document.getElementById('streamlit-iframe');
var iframeWindow = iframe.contentWindow;
try {
iframe.contentDocument.domain = document.domain;
iframeWindow.document.domain = document.domain;
} catch (e) {
console.error('Failed to set document.domain:', e);
}
}
</script>
</head>
<body onload="disableCORS()">
<iframe id="streamlit-iframe" src="https://chatgpt.com/g/g-dy1eDboPn-sloollega-ver-iii-03/?embedded=true" width="100%" height="600px" frameborder="0"></iframe>
</body>
</html>