ReLP-Client / automatic1111.html
ehristoforu's picture
Upload folder using huggingface_hub
e1a87c1 verified
<!-- text_generation.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style/tabs/style.css">
<link type="image/x-icon" href="assets/favicon/favicon.png" rel="shortcut icon">
<link type="Image/x-icon" href="assets/favicon/favicon.png" rel="icon">
<title>ReLP - AUTOMATIC1111</title>
</head>
<body class="dark-theme">
<header>
<a href="index.html"><img src="assets/icons/automatic1111.png" alt="AI Icon" class="icon"></a>
<h1>ReLP - AUTOMATIC1111</h1>
</header>
<nav>
<ul class="tabs">
<li><a href="#" onclick="showTab('AUTOMATIC1111-with-CounterfeitXL', 'https://camenduru-com-webui.hf.space', this)">AUTOMATIC1111 with CounterfeitXL</a></li>
<li><a href="#" onclick="showTab('AUTOMATIC1111-with-JuggernautXL', 'https://camenduru-com-webui-docker.hf.space', this)">AUTOMATIC1111 with JuggernautXL</a></li>
</ul>
</nav>
<main>
<iframe id="iframeAUTOMATIC1111-with-CounterfeitXL" src="https://camenduru-com-webui.hf.space" frameborder="1" width="100%" height="calc(100vh - 150px)"></iframe>
<iframe id="iframeAUTOMATIC1111-with-JuggernautXL" src="https://camenduru-com-webui-docker.hf.space" frameborder="1" width="100%" height="calc(100vh - 150px)"></iframe>
</main>
<script>
function showTab(tabName, url, tab) {
const iframes = document.querySelectorAll('iframe');
iframes.forEach(iframe => iframe.style.display = 'none');
const currentIframe = document.getElementById(`iframe${tabName}`);
currentIframe.style.display = 'block';
setActiveTab(tab);
}
function setActiveTab(activeTab) {
const tabs = document.querySelectorAll('.tabs a');
tabs.forEach(tab => tab.classList.remove('active'));
activeTab.classList.add('active');
}
</script>
</body>
</html>