Spaces:
Paused
Paused
File size: 7,619 Bytes
f081192 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flare.NX & Orynx AI Labs - GPU Accelerated API</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<div class="container">
<!-- Header with Logos -->
<header class="header">
<div class="logo-container">
<div class="logo-section">
<div class="logo-icon flare-logo">
<svg viewBox="0 0 100 60" xmlns="http://www.w3.org/2000/svg">
<path d="M20,45 Q15,40 15,30 Q15,20 20,15 L40,15 Q50,15 55,20 L75,20 Q80,15 90,15"
fill="#FF9933" stroke="none"/>
<ellipse cx="25" cy="25" rx="20" ry="15" fill="#FF9933"/>
<ellipse cx="50" cy="30" rx="15" ry="12" fill="#FFAA55"/>
</svg>
</div>
<h1 class="logo-text">Flare.NX</h1>
</div>
<div class="logo-divider">ร</div>
<div class="logo-section">
<div class="logo-icon orynx-logo">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<path d="M50,20 Q55,15 60,20 L65,30 Q67,35 65,40 L60,60 Q55,65 50,65 Q45,65 40,60 L35,40 Q33,35 35,30 Z"
fill="#E8F0FF" stroke="#FFFFFF" stroke-width="2"/>
<ellipse cx="55" cy="35" rx="4" ry="6" fill="#1E3A8A"/>
<path d="M65,25 Q70,20 75,15 Q80,10 85,15" stroke="#FFFFFF" stroke-width="3" fill="none"/>
</svg>
</div>
<div class="logo-text-group">
<h1 class="logo-text">ORYNX</h1>
<p class="logo-subtitle">AI LABS</p>
</div>
</div>
</div>
<p class="tagline">High-Performance GPU-Accelerated AI Platform</p>
</header>
<!-- System Status -->
<section class="status-section">
<h2>๐ System Status</h2>
<div class="status-grid">
<div class="status-card" id="healthCard">
<div class="status-icon">๐ฅ</div>
<h3>Health Status</h3>
<div class="status-value" id="healthStatus">Checking...</div>
<button class="btn-refresh" onclick="checkHealth()">Refresh</button>
</div>
<div class="status-card" id="gpuCard">
<div class="status-icon">๐ฎ</div>
<h3>GPU Status</h3>
<div class="status-value" id="gpuStatus">Loading...</div>
<button class="btn-refresh" onclick="checkGPU()">Refresh</button>
</div>
</div>
</section>
<!-- GPU Information -->
<section class="gpu-section">
<h2>๐ GPU Information</h2>
<div class="gpu-details" id="gpuDetails">
<div class="loading">Loading GPU specifications...</div>
</div>
</section>
<!-- Text Processing -->
<section class="process-section">
<h2>๐ง Text Processing (GPU Accelerated)</h2>
<div class="process-container">
<div class="input-group">
<label for="textInput">Input Text:</label>
<textarea id="textInput" rows="4" placeholder="Enter text to process...">Hello from Flare.NX and Orynx AI Labs!</textarea>
</div>
<div class="input-group">
<label for="maxLength">Max Length:</label>
<input type="number" id="maxLength" value="100" min="1" max="1000">
</div>
<button class="btn-process" onclick="processText()">
<span class="btn-icon">โก</span>
Process with GPU
</button>
<div class="output-group" id="outputGroup" style="display: none;">
<h3>Results:</h3>
<div class="output-content" id="outputContent"></div>
</div>
</div>
</section>
<!-- API Endpoints -->
<section class="api-section">
<h2>๐ก API Endpoints</h2>
<div class="api-grid">
<div class="api-card">
<div class="api-method get">GET</div>
<div class="api-path">/</div>
<p>API Information</p>
<button class="btn-test" onclick="testEndpoint('/')">Test</button>
</div>
<div class="api-card">
<div class="api-method get">GET</div>
<div class="api-path">/health</div>
<p>Health Check & GPU Status</p>
<button class="btn-test" onclick="testEndpoint('/health')">Test</button>
</div>
<div class="api-card">
<div class="api-method get">GET</div>
<div class="api-path">/gpu-info</div>
<p>Detailed GPU Specifications</p>
<button class="btn-test" onclick="testEndpoint('/gpu-info')">Test</button>
</div>
<div class="api-card">
<div class="api-method post">POST</div>
<div class="api-path">/process</div>
<p>Text Processing</p>
<button class="btn-test" onclick="processText()">Test</button>
</div>
<div class="api-card">
<div class="api-method get">GET</div>
<div class="api-path">/docs</div>
<p>Interactive API Documentation</p>
<a href="/docs" target="_blank" class="btn-test">Open</a>
</div>
<div class="api-card">
<div class="api-method get">GET</div>
<div class="api-path">/redoc</div>
<p>ReDoc API Documentation</p>
<a href="/redoc" target="_blank" class="btn-test">Open</a>
</div>
</div>
</section>
<!-- Response Viewer -->
<section class="response-section" id="responseSection" style="display: none;">
<h2>๐ API Response</h2>
<div class="response-controls">
<button class="btn-copy" onclick="copyResponse()">๐ Copy</button>
<button class="btn-close" onclick="closeResponse()">โ Close</button>
</div>
<pre id="responseContent"></pre>
</section>
<!-- Footer -->
<footer class="footer">
<p>Powered by <strong>Flare.NX</strong> & <strong>Orynx AI Labs</strong></p>
<p>NVIDIA A10G Large GPU โข FastAPI โข Uvicorn โข PyTorch</p>
<div class="footer-links">
<a href="/docs" target="_blank">API Docs</a>
<a href="https://huggingface.co/spaces/Speedofmastery/yyuujhu" target="_blank">HuggingFace Space</a>
</div>
</footer>
</div>
<script src="/static/script.js"></script>
</body>
</html>
|