xyplon
commited on
Update templates/models.html
Browse files- templates/models.html +2 -18
templates/models.html
CHANGED
|
@@ -274,24 +274,8 @@ color: red;
|
|
| 274 |
|
| 275 |
|
| 276 |
<script>
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
reconnectionAttempts: 3,
|
| 280 |
-
timeout: 10000
|
| 281 |
-
});
|
| 282 |
-
|
| 283 |
-
socket.on('connect', function() {
|
| 284 |
-
console.log('Connected to Socket.IO server');
|
| 285 |
-
});
|
| 286 |
-
|
| 287 |
-
socket.on('connect_error', function(error) {
|
| 288 |
-
console.error('Connection error:', error);
|
| 289 |
-
});
|
| 290 |
-
|
| 291 |
-
socket.on('update', function(data) {
|
| 292 |
-
document.getElementById('stats').textContent = `Pending (Generating): ${data["Pending Requests"]} Total Requests: ${data["Total Requests"]}`;
|
| 293 |
-
});
|
| 294 |
-
});
|
| 295 |
|
| 296 |
document.getElementById('prompt').addEventListener('mouseover', () => {
|
| 297 |
document.getElementById('prompt').placeholder = 'Enter Your Prompt';
|
|
|
|
| 274 |
|
| 275 |
|
| 276 |
<script>
|
| 277 |
+
|
| 278 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 279 |
|
| 280 |
document.getElementById('prompt').addEventListener('mouseover', () => {
|
| 281 |
document.getElementById('prompt').placeholder = 'Enter Your Prompt';
|