Ritesh Thawkar commited on
Commit
bedef20
1 Parent(s): 46de9df

change socket path

Browse files
Files changed (1) hide show
  1. templates/chat.html +2 -2
templates/chat.html CHANGED
@@ -413,7 +413,7 @@
413
  <script>
414
 
415
  // Initialize Socket.IO client
416
- var socket = io.connect('http://127.0.0.1:5000/', {
417
  transports: ['websocket']
418
  });
419
 
@@ -592,7 +592,7 @@
592
  console.warn("Disconnected from server:", reason);
593
  response = "";
594
  // appendAnswer("You have been disconnected from the server. Please refresh the page to reconnect.");
595
- socket = io.connect('http://127.0.0.1:5000/', {
596
  transports: ['websocket']
597
  });
598
  });
 
413
  <script>
414
 
415
  // Initialize Socket.IO client
416
+ var socket = io.connect('https://ritesh-hf-adafsa-flask-app-demo.hf.space', {
417
  transports: ['websocket']
418
  });
419
 
 
592
  console.warn("Disconnected from server:", reason);
593
  response = "";
594
  // appendAnswer("You have been disconnected from the server. Please refresh the page to reconnect.");
595
+ socket = io.connect('https://ritesh-hf-adafsa-flask-app-demo.hf.space', {
596
  transports: ['websocket']
597
  });
598
  });