Ritesh-hf commited on
Commit
4f69e40
1 Parent(s): 4aa0163

Update templates/chat.html

Browse files
Files changed (1) hide show
  1. templates/chat.html +2 -2
templates/chat.html CHANGED
@@ -418,7 +418,7 @@
418
  <script>
419
 
420
  // Initialize Socket.IO client
421
- var socket = io.connect('http://127.0.0.1:5000', {
422
  transports: ['websocket']
423
  });
424
 
@@ -643,7 +643,7 @@
643
  console.warn("Disconnected from server:", reason);
644
  response = "";
645
  // appendAnswer("You have been disconnected from the server. Please refresh the page to reconnect.");
646
- socket = io.connect('http://127.0.0.1:5000', {
647
  transports: ['websocket']
648
  });
649
  });
 
418
  <script>
419
 
420
  // Initialize Socket.IO client
421
+ var socket = io.connect('https://ritesh-hf-adafsa-flask-app-demo.hf.space', {
422
  transports: ['websocket']
423
  });
424
 
 
643
  console.warn("Disconnected from server:", reason);
644
  response = "";
645
  // appendAnswer("You have been disconnected from the server. Please refresh the page to reconnect.");
646
+ socket = io.connect('https://ritesh-hf-adafsa-flask-app-demo.hf.space', {
647
  transports: ['websocket']
648
  });
649
  });