meg-huggingface
commited on
Commit
·
668284b
1
Parent(s):
20fd212
replicas
Browse files
src/backend/inference_endpoint.py
CHANGED
@@ -10,7 +10,7 @@ import requests
|
|
10 |
logging.basicConfig(level=logging.DEBUG)
|
11 |
logger = setup_logger(__name__)
|
12 |
TIMEOUT = 20
|
13 |
-
MAX_REPLICA =
|
14 |
|
15 |
|
16 |
def create_endpoint(endpoint_name, repository, framework='pytorch',
|
|
|
10 |
logging.basicConfig(level=logging.DEBUG)
|
11 |
logger = setup_logger(__name__)
|
12 |
TIMEOUT = 20
|
13 |
+
MAX_REPLICA = 1
|
14 |
|
15 |
|
16 |
def create_endpoint(endpoint_name, repository, framework='pytorch',
|