Spaces:
Sleeping
Sleeping
Factor Studios
commited on
Update http_storage.py
Browse files- http_storage.py +2 -2
http_storage.py
CHANGED
|
@@ -19,7 +19,7 @@ class HTTPGPUStorage:
|
|
| 19 |
_instance = None
|
| 20 |
_lock = threading.Lock()
|
| 21 |
|
| 22 |
-
def __new__(cls, base_url: str = "
|
| 23 |
with cls._lock:
|
| 24 |
if cls._instance is None:
|
| 25 |
cls._instance = super().__new__(cls)
|
|
@@ -80,7 +80,7 @@ class HTTPGPUStorage:
|
|
| 80 |
self._create_session()
|
| 81 |
self.initialized = True
|
| 82 |
|
| 83 |
-
def __init__(self, base_url: str = "
|
| 84 |
"""This will actually just return the singleton instance"""
|
| 85 |
pass
|
| 86 |
|
|
|
|
| 19 |
_instance = None
|
| 20 |
_lock = threading.Lock()
|
| 21 |
|
| 22 |
+
def __new__(cls, base_url: str = "https://factorst-intiv.hf.space"):
|
| 23 |
with cls._lock:
|
| 24 |
if cls._instance is None:
|
| 25 |
cls._instance = super().__new__(cls)
|
|
|
|
| 80 |
self._create_session()
|
| 81 |
self.initialized = True
|
| 82 |
|
| 83 |
+
def __init__(self, base_url: str = "https://factorst-intiv.hf.space"):
|
| 84 |
"""This will actually just return the singleton instance"""
|
| 85 |
pass
|
| 86 |
|