x
This commit is contained in:
@@ -104,9 +104,12 @@ services:
|
|||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
environment:
|
environment:
|
||||||
- MINERU_MODEL_SOURCE=${MINERU_MODEL_SOURCE:-huggingface}
|
- MINERU_MODEL_SOURCE=${MINERU_MODEL_SOURCE:-huggingface}
|
||||||
|
- HF_HUB_CACHE=${HF_HUB_CACHE:-/opt/models/huggingface}
|
||||||
|
- MODELSCOPE_CACHE=${MODELSCOPE_CACHE:-/opt/models/modelscope}
|
||||||
volumes:
|
volumes:
|
||||||
- ${INPUT_DIR:-./data/input}:/data/input:ro
|
- ${INPUT_DIR:-./data/input}:/data/input:ro
|
||||||
- ${OUTPUT_DIR:-./data/output}:/data/output
|
- ${OUTPUT_DIR:-./data/output}:/data/output
|
||||||
|
- ${MODEL_DIR:-./data/models}:/opt/models
|
||||||
- ./scripts:/opt/scripts:ro
|
- ./scripts:/opt/scripts:ro
|
||||||
command:
|
command:
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user