Factor Studios commited on
Commit
8c5de71
·
verified ·
1 Parent(s): 8a23a4c

Update websocket_storage.py

Browse files
Files changed (1) hide show
  1. websocket_storage.py +2 -2
websocket_storage.py CHANGED
@@ -13,7 +13,7 @@ class WebSocketGPUStorage:
13
  _instance = None
14
  _lock = threading.Lock()
15
 
16
- def __new__(cls, url: str = "ws://factorst-intiv.hf.space/ws"):
17
  with cls._lock:
18
  if cls._instance is None:
19
  cls._instance = super().__new__(cls)
@@ -49,7 +49,7 @@ class WebSocketGPUStorage:
49
  self.ws_thread.start()
50
  self.initialized = True
51
 
52
- def __init__(self, url: str = "ws://factorst-intiv.hf.space/ws"):
53
  """This will actually just return the singleton instance"""
54
  pass
55
 
 
13
  _instance = None
14
  _lock = threading.Lock()
15
 
16
+ def __new__(cls, url: str = "wss://factorst-intiv.hf.space:443/ws"):
17
  with cls._lock:
18
  if cls._instance is None:
19
  cls._instance = super().__new__(cls)
 
49
  self.ws_thread.start()
50
  self.initialized = True
51
 
52
+ def __init__(self, url: str = "wss://factorst-intiv.hf.space:443/ws"):
53
  """This will actually just return the singleton instance"""
54
  pass
55