Spaces:
Sleeping
Sleeping
Factor Studios
commited on
Update websocket_storage.py
Browse files- 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 = "
|
| 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 = "
|
| 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 |
|