Factor Studios commited on
Commit
74eb1b8
·
verified ·
1 Parent(s): e9bc512

Update http_storage.py

Browse files
Files changed (1) hide show
  1. 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 = "http://localhost:7860"):
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 = "http://localhost:7860"):
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