xyplon commited on
Commit
07b6cc3
·
verified ·
1 Parent(s): b99e00a

Update templates/models.html

Browse files
Files changed (1) hide show
  1. templates/models.html +2 -18
templates/models.html CHANGED
@@ -274,24 +274,8 @@ color: red;
274
 
275
 
276
  <script>
277
- window.addEventListener('load', function() {
278
- const socket = io('https://xyplon.onrender.com', {
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';