update AI page

This commit is contained in:
Raven Scott 2024-10-02 05:42:00 -04:00
parent da00f63b08
commit ff53187da7

View File

@ -200,19 +200,22 @@ document.addEventListener('DOMContentLoaded', function () {
resetChat(false); resetChat(false);
}); });
function openWindow(url, windowName, width, height) {
window.open(url, windowName, `width=${width},height=${height},menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes`);
}
function openGpuStats() { function openGpuStats() {
window.open('https://chat.x64.world/smi.html', 'gpuStatsWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes'); openWindow('https://chat.x64.world/smi.html', 'gpuStatsWindow', 800, 600);
} }
function openLiveLog() { function openLiveLog() {
window.open('https://llama-live-log.x64.world/', 'liveLogWindow', 'width=600,height=600,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes'); openWindow('https://llama-live-log.x64.world/', 'liveLogWindow', 600, 600);
} }
function openTop() { function openTop() {
window.open('https://ai-top.x64.world/', 'liveLogGtopWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes'); openWindow('https://ai-top.x64.world/', 'liveLogGtopWindow', 800, 600);
} }
function openAbout() { function openAbout() {
window.open('https://raven-scott.fyi/about-rayai', 'aboutRAIWindow', 'width=800,height=650,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes'); openWindow('https://raven-scott.fyi/about-rayai', 'aboutRAIWindow', 800, 650);
} }