Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandra Dolidze committed Dec 27, 2023
1 parent 890d7f8 commit db14239
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SERVICE_PORT: 8045
SERVICE_PORT: 8040
SERVICE_NAME: emotion_detection
CUDA_VISIBLE_DEVICES: 0
VIDEO_PRETRAINED: "microsoft/xclip-base-patch32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand All @@ -26,4 +26,4 @@ compose:
environment:
- CUDA_VISIBLE_DEVICES=0
ports:
- 8045:8045
- 8040:8040
2 changes: 0 additions & 2 deletions annotators/personality_detection/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion annotators/personality_detection/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit db14239

Please sign in to comment.