This commit is contained in:
2026-06-15 13:52:20 +08:00
parent cbe5388e57
commit a095bdd927
3 changed files with 280 additions and 7 deletions
+2 -2
View File
@@ -303,8 +303,8 @@ RUN set -ex && \
# ===========================================================================
RUN set -ex && \
export http_proxy=${GIT_PROXY} https_proxy=${GIT_PROXY} && \
${VENV}/bin/pip install 'mineru[core]' click gradio && \
${VENV}/bin/python -c "import torch; import vllm; import mineru; import click; import gradio; import mineru.cli.gradio_app; print('MinerU + Gradio CLI imports OK')" && \
${VENV}/bin/pip install 'mineru[core]' click gradio httpx && \
${VENV}/bin/python -c "import torch; import vllm; import mineru; import click; import gradio; import httpx; print('MinerU + Gradio + httpx imports OK')" && \
${VENV}/bin/mineru-gradio --help >/dev/null
# ===========================================================================