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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>ProVerBs Ultimate Legal AI Brain - Live Preview</title>
|
| 7 |
+
<meta name="description" content="ProVerBs Ultimate Legal AI Brain - Advanced legal assistant with 100+ reasoning protocols">
|
| 8 |
+
<style>
|
| 9 |
+
* {
|
| 10 |
+
margin: 0;
|
| 11 |
+
padding: 0;
|
| 12 |
+
box-sizing: border-box;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
body {
|
| 16 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
| 17 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 18 |
+
min-height: 100vh;
|
| 19 |
+
display: flex;
|
| 20 |
+
flex-direction: column;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.header {
|
| 24 |
+
background: rgba(255, 255, 255, 0.95);
|
| 25 |
+
padding: 20px;
|
| 26 |
+
text-align: center;
|
| 27 |
+
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.header h1 {
|
| 31 |
+
color: #667eea;
|
| 32 |
+
font-size: 2.5rem;
|
| 33 |
+
margin-bottom: 10px;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.header p {
|
| 37 |
+
color: #666;
|
| 38 |
+
font-size: 1.1rem;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.badges {
|
| 42 |
+
margin: 15px 0;
|
| 43 |
+
display: flex;
|
| 44 |
+
justify-content: center;
|
| 45 |
+
gap: 10px;
|
| 46 |
+
flex-wrap: wrap;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.badge {
|
| 50 |
+
background: #667eea;
|
| 51 |
+
color: white;
|
| 52 |
+
padding: 8px 16px;
|
| 53 |
+
border-radius: 20px;
|
| 54 |
+
font-size: 0.9rem;
|
| 55 |
+
font-weight: 600;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.preview-container {
|
| 59 |
+
flex: 1;
|
| 60 |
+
display: flex;
|
| 61 |
+
flex-direction: column;
|
| 62 |
+
padding: 20px;
|
| 63 |
+
max-width: 1400px;
|
| 64 |
+
margin: 0 auto;
|
| 65 |
+
width: 100%;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.status-bar {
|
| 69 |
+
background: rgba(255, 255, 255, 0.95);
|
| 70 |
+
padding: 15px 20px;
|
| 71 |
+
border-radius: 10px;
|
| 72 |
+
margin-bottom: 20px;
|
| 73 |
+
display: flex;
|
| 74 |
+
justify-content: space-between;
|
| 75 |
+
align-items: center;
|
| 76 |
+
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.status-item {
|
| 80 |
+
display: flex;
|
| 81 |
+
align-items: center;
|
| 82 |
+
gap: 10px;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.status-dot {
|
| 86 |
+
width: 12px;
|
| 87 |
+
height: 12px;
|
| 88 |
+
border-radius: 50%;
|
| 89 |
+
background: #10b981;
|
| 90 |
+
animation: pulse 2s infinite;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
@keyframes pulse {
|
| 94 |
+
0%, 100% { opacity: 1; }
|
| 95 |
+
50% { opacity: 0.5; }
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.iframe-container {
|
| 99 |
+
flex: 1;
|
| 100 |
+
background: white;
|
| 101 |
+
border-radius: 12px;
|
| 102 |
+
overflow: hidden;
|
| 103 |
+
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
iframe {
|
| 107 |
+
width: 100%;
|
| 108 |
+
height: 100%;
|
| 109 |
+
border: none;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
.loading {
|
| 113 |
+
display: flex;
|
| 114 |
+
justify-content: center;
|
| 115 |
+
align-items: center;
|
| 116 |
+
height: 400px;
|
| 117 |
+
font-size: 1.2rem;
|
| 118 |
+
color: white;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.spinner {
|
| 122 |
+
border: 4px solid rgba(255, 255, 255, 0.3);
|
| 123 |
+
border-top: 4px solid white;
|
| 124 |
+
border-radius: 50%;
|
| 125 |
+
width: 40px;
|
| 126 |
+
height: 40px;
|
| 127 |
+
animation: spin 1s linear infinite;
|
| 128 |
+
margin-right: 15px;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
@keyframes spin {
|
| 132 |
+
0% { transform: rotate(0deg); }
|
| 133 |
+
100% { transform: rotate(360deg); }
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.quick-links {
|
| 137 |
+
background: rgba(255, 255, 255, 0.95);
|
| 138 |
+
padding: 15px;
|
| 139 |
+
border-radius: 10px;
|
| 140 |
+
margin-top: 20px;
|
| 141 |
+
text-align: center;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
.quick-links a {
|
| 145 |
+
display: inline-block;
|
| 146 |
+
background: #667eea;
|
| 147 |
+
color: white;
|
| 148 |
+
padding: 10px 20px;
|
| 149 |
+
border-radius: 8px;
|
| 150 |
+
text-decoration: none;
|
| 151 |
+
margin: 5px;
|
| 152 |
+
font-weight: 600;
|
| 153 |
+
transition: all 0.3s;
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
.quick-links a:hover {
|
| 157 |
+
background: #764ba2;
|
| 158 |
+
transform: translateY(-2px);
|
| 159 |
+
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
@media (max-width: 768px) {
|
| 163 |
+
.header h1 {
|
| 164 |
+
font-size: 1.8rem;
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
.status-bar {
|
| 168 |
+
flex-direction: column;
|
| 169 |
+
gap: 10px;
|
| 170 |
+
}
|
| 171 |
+
}
|
| 172 |
+
</style>
|
| 173 |
+
</head>
|
| 174 |
+
<body>
|
| 175 |
+
<div class="header">
|
| 176 |
+
<h1>βοΈ ProVerBs Ultimate Legal AI Brain</h1>
|
| 177 |
+
<p>Live Preview - Version 3.0</p>
|
| 178 |
+
<div class="badges">
|
| 179 |
+
<span class="badge">π§ 100+ Reasoning Protocols</span>
|
| 180 |
+
<span class="badge">π€ 6 AI Models</span>
|
| 181 |
+
<span class="badge">βοΈ 7 Legal Modes</span>
|
| 182 |
+
<span class="badge">π΅ Audio Processing</span>
|
| 183 |
+
</div>
|
| 184 |
+
</div>
|
| 185 |
+
|
| 186 |
+
<div class="preview-container">
|
| 187 |
+
<div class="status-bar">
|
| 188 |
+
<div class="status-item">
|
| 189 |
+
<div class="status-dot"></div>
|
| 190 |
+
<span><strong>Status:</strong> Live & Running</span>
|
| 191 |
+
</div>
|
| 192 |
+
<div class="status-item">
|
| 193 |
+
<span><strong>Space:</strong> Solomon7890/ProVerbS_LaW_mAiN_PAgE</span>
|
| 194 |
+
</div>
|
| 195 |
+
<div class="status-item">
|
| 196 |
+
<span><strong>Version:</strong> 3.0 Ultimate Brain</span>
|
| 197 |
+
</div>
|
| 198 |
+
</div>
|
| 199 |
+
|
| 200 |
+
<div class="iframe-container" id="iframeContainer">
|
| 201 |
+
<div class="loading">
|
| 202 |
+
<div class="spinner"></div>
|
| 203 |
+
<span>Loading ProVerBs Ultimate Brain...</span>
|
| 204 |
+
</div>
|
| 205 |
+
</div>
|
| 206 |
+
|
| 207 |
+
<div class="quick-links">
|
| 208 |
+
<a href="https://huggingface.co/spaces/Solomon7890/ProVerbS_LaW_mAiN_PAgE" target="_blank">
|
| 209 |
+
π Open Full Space
|
| 210 |
+
</a>
|
| 211 |
+
<a href="https://huggingface.co/spaces/Solomon7890/ProVerbS_LaW_mAiN_PAgE/settings" target="_blank">
|
| 212 |
+
βοΈ Settings
|
| 213 |
+
</a>
|
| 214 |
+
<a href="#" onclick="reloadIframe(); return false;">
|
| 215 |
+
π Reload Preview
|
| 216 |
+
</a>
|
| 217 |
+
</div>
|
| 218 |
+
</div>
|
| 219 |
+
|
| 220 |
+
<script>
|
| 221 |
+
// Load iframe after page load
|
| 222 |
+
window.addEventListener('load', function() {
|
| 223 |
+
setTimeout(function() {
|
| 224 |
+
const container = document.getElementById('iframeContainer');
|
| 225 |
+
const iframe = document.createElement('iframe');
|
| 226 |
+
iframe.src = 'https://solomon7890-proverbslawmainpage.hf.space';
|
| 227 |
+
iframe.allow = 'microphone; camera';
|
| 228 |
+
container.innerHTML = '';
|
| 229 |
+
container.appendChild(iframe);
|
| 230 |
+
}, 1000);
|
| 231 |
+
});
|
| 232 |
+
|
| 233 |
+
function reloadIframe() {
|
| 234 |
+
const container = document.getElementById('iframeContainer');
|
| 235 |
+
const iframe = container.querySelector('iframe');
|
| 236 |
+
if (iframe) {
|
| 237 |
+
iframe.src = iframe.src;
|
| 238 |
+
}
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
// Auto-refresh status every 30 seconds
|
| 242 |
+
setInterval(function() {
|
| 243 |
+
console.log('ProVerBs Ultimate Brain - Status Check');
|
| 244 |
+
}, 30000);
|
| 245 |
+
</script>
|
| 246 |
+
</body>
|
| 247 |
+
</html>
|