File tree Expand file tree Collapse file tree 6 files changed +0
-173
lines changed
Expand file tree Collapse file tree 6 files changed +0
-173
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,6 @@ WORKDIR /program
44
55COPY requirements.txt .
66
7- RUN apt-get update && apt-get install -y --no-install-recommends \
8- git \
9- && rm -rf /var/lib/apt/lists/*
10-
117RUN pip3 install --no-cache-dir -r requirements.txt
128
139COPY / .
Original file line number Diff line number Diff line change 2424 OpenAISentenceEmbedder ,
2525 HuggingFaceSentenceEmbedder ,
2626)
27- from src .embedders .classification .count_based import (
28- BagOfCharsSentenceEmbedder ,
29- BagOfWordsSentenceEmbedder ,
30- TfidfSentenceEmbedder ,
31- )
3227from src .embedders .classification .reduce import PCASentenceReducer
3328from src .util import daemon , request_util
3429from src .util .decorator import param_throttle
@@ -421,8 +416,6 @@ def run_encoding(
421416 notification_message = "Access denied due to invalid api key."
422417 elif platform == enums .EmbeddingPlatform .AZURE .value :
423418 notification_message = "Access denied due to invalid subscription key or wrong endpoint data."
424- elif error_message == "invalid api token" :
425- notification_message = "Access denied due to invalid api token."
426419 notification .create (
427420 project_id ,
428421 user_id ,
Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ VOLUME ["/app"]
66
77COPY requirements*.txt .
88
9- RUN apt-get update && apt-get install -y --no-install-recommends \
10- git \
11- && rm -rf /var/lib/apt/lists/*
12-
139RUN pip3 install --no-cache-dir -r requirements-dev.txt
1410
1511COPY / .
Original file line number Diff line number Diff line change @@ -4,10 +4,6 @@ WORKDIR /program
44
55COPY gpu-requirements.txt .
66
7- RUN apt-get update && apt-get install -y --no-install-recommends \
8- git \
9- && rm -rf /var/lib/apt/lists/*
10-
117RUN pip3 install --no-cache-dir -r gpu-requirements.txt
128
139COPY / .
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments