flux-pro-uncensored / index.html
llamameta's picture
Update index.html
8cea517 verified
raw
history blame
1.02 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Black Forest Labs</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
iframe {
width: 100%;
height: 100vh;
border: none;
}
</style>
</head>
<body>
<iframe id="streamlit-frame"></iframe>
<script>
const urls = [
"https://share.streamlit.io/?embed=true",
"https://square-disk-5955.ploomberapp.io/?embed=true"
];
function loadBalancedUrl() {
const randomIndex = Math.floor(Math.random() * urls.length);
return urls[randomIndex];
}
window.onload = function() {
const iframe = document.getElementById('streamlit-frame');
iframe.src = loadBalancedUrl();
};
</script>
</body>
</html>