naourpally
commited on
Commit
·
8a8728a
1
Parent(s):
5dbf1c7
Update node info
Browse files- text_to_image.py +3 -4
text_to_image.py
CHANGED
|
@@ -15,9 +15,9 @@ logger = logging.getLogger()
|
|
| 15 |
# SERVER_ADDRESS = "https://faircompute.com:8000"
|
| 16 |
# INFERENCE_NODE = "magnus"
|
| 17 |
# TUNNEL_NODE = "gcs-e2-micro"
|
| 18 |
-
SERVER_ADDRESS = "
|
| 19 |
-
INFERENCE_NODE = "
|
| 20 |
-
TUNNEL_NODE = "
|
| 21 |
|
| 22 |
INFERENCE_DOCKER_IMAGE = "faircompute/diffusers-api-dreamshaper-8"
|
| 23 |
TUNNEL_DOCKER_IMAGE = "rapiz1/rathole"
|
|
@@ -25,7 +25,6 @@ TUNNEL_DOCKER_IMAGE = "rapiz1/rathole"
|
|
| 25 |
endpoint_client = None
|
| 26 |
fair_client = None
|
| 27 |
|
| 28 |
-
|
| 29 |
class EndpointClient:
|
| 30 |
def __init__(self, server_address, timeout):
|
| 31 |
self.endpoint_address = f'http://{server_address}:5000'
|
|
|
|
| 15 |
# SERVER_ADDRESS = "https://faircompute.com:8000"
|
| 16 |
# INFERENCE_NODE = "magnus"
|
| 17 |
# TUNNEL_NODE = "gcs-e2-micro"
|
| 18 |
+
SERVER_ADDRESS = "54.91.82.249"
|
| 19 |
+
INFERENCE_NODE = "Nikhil-Macbook"
|
| 20 |
+
TUNNEL_NODE = "nikhil-tunneling-node"
|
| 21 |
|
| 22 |
INFERENCE_DOCKER_IMAGE = "faircompute/diffusers-api-dreamshaper-8"
|
| 23 |
TUNNEL_DOCKER_IMAGE = "rapiz1/rathole"
|
|
|
|
| 25 |
endpoint_client = None
|
| 26 |
fair_client = None
|
| 27 |
|
|
|
|
| 28 |
class EndpointClient:
|
| 29 |
def __init__(self, server_address, timeout):
|
| 30 |
self.endpoint_address = f'http://{server_address}:5000'
|