4.8.11 perf (#2832)

* save toast

* perf: surya ocr

* perf: remove same model name

* fix: indexes

* perf: ip check

* feat: Fixed the version number of the subapplication

* feat: simple app get latest child version

* perf: update child dispatch variables

* feat: variables update doc
This commit is contained in:
Archer
2024-09-28 15:31:25 +08:00
committed by shilin66
parent bf74496945
commit 6425249a4e
34 changed files with 393 additions and 263 deletions

View File

@@ -0,0 +1,17 @@
FROM pytorch/pytorch:2.4.0-cuda11.8-cudnn9-runtime
# please download the model from https://huggingface.co/vikp/surya_det3
# and https://huggingface.co/vikp/surya_rec2, and put it in the directory vikp/
COPY ./vikp ./vikp
COPY requirements.txt .
RUN python3 -m pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
RUN python3 -m pip uninstall opencv-python -y
RUN python3 -m pip install opencv-python-headless -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY app.py Dockerfile ./
ENTRYPOINT python3 app.py