Spaces:
Sleeping
Sleeping
Upload research/fso_global_node.py with huggingface_hub
Browse files
research/fso_global_node.py
CHANGED
|
@@ -42,7 +42,7 @@ class GlobalFSONode:
|
|
| 42 |
self.node_id = str(uuid.uuid4())
|
| 43 |
self.public_ip = self._get_public_ip()
|
| 44 |
|
| 45 |
-
# Priority: PORT (Render/HF) -> FSO_PORT -> Default
|
| 46 |
self.port = int(os.getenv("PORT", os.getenv("FSO_PORT", 10000)))
|
| 47 |
|
| 48 |
self.coords = None
|
|
|
|
| 42 |
self.node_id = str(uuid.uuid4())
|
| 43 |
self.public_ip = self._get_public_ip()
|
| 44 |
|
| 45 |
+
# Priority: PORT (Render/HF) -> FSO_PORT -> Default 10000
|
| 46 |
self.port = int(os.getenv("PORT", os.getenv("FSO_PORT", 10000)))
|
| 47 |
|
| 48 |
self.coords = None
|