Update docker-compose.yml
add model download comment
This commit is contained in:
@@ -5,9 +5,10 @@ services:
|
|||||||
image: dots-ocr:latest
|
image: dots-ocr:latest
|
||||||
container_name: dots-ocr-container
|
container_name: dots-ocr-container
|
||||||
ports:
|
ports:
|
||||||
- "8001:8000"
|
- "8000:8000"
|
||||||
volumes:
|
volumes:
|
||||||
- /app/data/gpt/source-model/dots.ocr:/workspace/weights/DotsOCR
|
#download model to local,model url:https://www.modelscope.cn/models/rednote-hilab/dots.ocr
|
||||||
|
- ./model/dots.ocr:/workspace/weights/DotsOCR
|
||||||
environment:
|
environment:
|
||||||
- CUDA_VISIBLE_DEVICES=0
|
- CUDA_VISIBLE_DEVICES=0
|
||||||
- PYTHONPATH=/workspace/weights:$PYTHONPATH
|
- PYTHONPATH=/workspace/weights:$PYTHONPATH
|
||||||
@@ -40,3 +41,4 @@ services:
|
|||||||
--trust-remote-code
|
--trust-remote-code
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user