diff --git a/annotators/emotion_detection/service_configs/emotion-detection/environment.yml b/annotators/emotion_detection/service_configs/emotion-detection/environment.yml index ac3a0fe81..beaa53c7c 100644 --- a/annotators/emotion_detection/service_configs/emotion-detection/environment.yml +++ b/annotators/emotion_detection/service_configs/emotion-detection/environment.yml @@ -1,4 +1,4 @@ -SERVICE_PORT: 8045 +SERVICE_PORT: 8040 SERVICE_NAME: emotion_detection CUDA_VISIBLE_DEVICES: 0 VIDEO_PRETRAINED: "microsoft/xclip-base-patch32" diff --git a/annotators/emotion_detection/service_configs/emotion-detection/service.yml b/annotators/emotion_detection/service_configs/emotion-detection/service.yml index 2009225c8..83876ca7a 100644 --- a/annotators/emotion_detection/service_configs/emotion-detection/service.yml +++ b/annotators/emotion_detection/service_configs/emotion-detection/service.yml @@ -6,7 +6,7 @@ compose: - .env build: args: - SERVICE_PORT: 8045 + SERVICE_PORT: 8040 SERVICE_NAME: emotion_detection VIDEO_PRETRAINED: "microsoft/xclip-base-patch32" TEXT_PRETRAINED: "bert-large-uncased" @@ -16,7 +16,7 @@ compose: PREFIX: "Detect emotions:" context: . dockerfile: ./annotators/emotion_detection/Dockerfile - command: uvicorn server:app --host 0.0.0.0 --port 8045 + command: uvicorn server:app --host 0.0.0.0 --port 8040 deploy: resources: limits: @@ -26,4 +26,4 @@ compose: environment: - CUDA_VISIBLE_DEVICES=0 ports: - - 8045:8045 \ No newline at end of file + - 8040:8040 \ No newline at end of file diff --git a/annotators/personality_detection/Dockerfile b/annotators/personality_detection/Dockerfile index 91a64350c..94b0ed8a4 100644 --- a/annotators/personality_detection/Dockerfile +++ b/annotators/personality_detection/Dockerfile @@ -2,8 +2,6 @@ FROM python:3.7 WORKDIR /src -RUN git clone https://github.com/jkwieser/personality-detection-text.git /personality-detection-text - COPY requirements.txt . RUN pip install -r requirements.txt diff --git a/annotators/personality_detection/requirements.txt b/annotators/personality_detection/requirements.txt index c27af54ab..4f510579d 100644 --- a/annotators/personality_detection/requirements.txt +++ b/annotators/personality_detection/requirements.txt @@ -1,5 +1,4 @@ scikit-learn==0.22.1 -plotly==4.14.3 pandas==1.2.4 uvicorn==0.13.4 fastapi==0.65.1