From 7da300b2c9e29e6161fcff35a0ec93ce6e40b0b6 Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Tue, 22 Oct 2024 15:34:10 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=20=20=E6=96=B0=E5=A2=9E=20process=20loo?= =?UTF-8?q?kbooks=20=E6=8E=A5=E5=8F=A3=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 + app/core/config.py | 2 +- requirements.txt | Bin 1104 -> 1104 bytes 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4920060..3178375 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN apt install -y tesseract-ocr COPY ./requirements.txt /requirements.txt RUN pip install --upgrade pip RUN pip install -r requirements.txt +RUN pip install --upgrade grpcio RUN pip install gunicorn RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 RUN pip install mmcv==1.4.2 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html diff --git a/app/core/config.py b/app/core/config.py index 062f131..eebf282 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -37,7 +37,7 @@ ATT_TRITON_PORT = "20010" MILVUS_URL = "http://10.1.1.240:19530" -DEBUG = 1 +DEBUG = 2 SHOW_OR_SAVE_result_image = False # service env : 1 # pycharm debug : 2 diff --git a/requirements.txt b/requirements.txt index 023778846d705018ba790776616b7450edf68887..2f9cf5443b510413abc66bf2c4708ed5efec0e7a 100644 GIT binary patch delta 36 ocmcb>ae-rl35!fILm@*BLncEBLn?zU5E?V+F_A0HwqR>;M1& delta 36 ocmcb>ae-rl35!fRLlHv(Lo!1qLq3Bo5E?S*F_