From d7d3e029df1fbc77b0710ae7a79b30346c47ba43 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 30 Mar 2024 20:48:27 -0400 Subject: [PATCH] Add API --- text-ui/text-ui-deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text-ui/text-ui-deployment.yaml b/text-ui/text-ui-deployment.yaml index 9ba3a01..f6a5c53 100644 --- a/text-ui/text-ui-deployment.yaml +++ b/text-ui/text-ui-deployment.yaml @@ -18,10 +18,10 @@ spec: image: atinoda/text-generation-webui:default-nvidia env: - name: EXTRA_LAUNCH_ARGS - value: "--listen --verbose" + value: "--listen --verbose --api" ports: - containerPort: 7860 - - containerPort: 5000 + - containerPort: 5000 # Api port - containerPort: 5005 volumeMounts: - name: config-volume