Ritesh-hf commited on
Commit
5621a3a
·
1 Parent(s): 02223fb

change socket paths

Browse files
Files changed (1) hide show
  1. templates/chat.html +2 -2
templates/chat.html CHANGED
@@ -395,7 +395,7 @@
395
  <script>
396
 
397
  // Initialize Socket.IO client
398
- var socket = io.connect('http://127.0.0.1:5000/', {
399
  transports: ['websocket']
400
  });
401
 
@@ -567,7 +567,7 @@
567
  console.warn("Disconnected from server:", reason);
568
  response = "";
569
  // appendAnswer("You have been disconnected from the server. Please refresh the page to reconnect.");
570
- socket = io.connect('http://127.0.0.1:5000/', {
571
  transports: ['websocket']
572
  });
573
  });
 
395
  <script>
396
 
397
  // Initialize Socket.IO client
398
+ var socket = io.connect('https://ritesh-hf-adafsa-flask-app-demo.hf.space', {
399
  transports: ['websocket']
400
  });
401
 
 
567
  console.warn("Disconnected from server:", reason);
568
  response = "";
569
  // appendAnswer("You have been disconnected from the server. Please refresh the page to reconnect.");
570
+ socket = io.connect('https://ritesh-hf-adafsa-flask-app-demo.hf.space', {
571
  transports: ['websocket']
572
  });
573
  });