diff --git a/runpod/serverless/__init__.py b/runpod/serverless/__init__.py index 38f96344..c710f221 100644 --- a/runpod/serverless/__init__.py +++ b/runpod/serverless/__init__.py @@ -11,7 +11,7 @@ def start(config): ''' Starts the serverless worker. ''' - api_port = os.environ.get('RUNPOD_API_PORT', None) + api_port = os.environ.get('RUNPOD_REALTIME_PORT', None) if api_port: api_server = rp_fastapi.WorkerAPI() diff --git a/setup.cfg b/setup.cfg index 60915557..6a1f415b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = runpod -version = 0.7.6 +version = 0.8.0 description = Official Python library for RunPod API & SDK. long_description = file: README.md long_description_content_type = text/markdown