Sign inSign up

szcq/pdf2zh

By szcq

Updated 4 months ago

Image
0

1.3K

szcq/pdf2zh repository overview

Docker Compose

services:
  pdf2zh:
    image: szcq/pdf2zh:latest
    container_name: pdf2zh
    ports:
      - "7860:7860"
    environment:
      PYTHONUNBUFFERED: "1"
      GRADIO_SERVER_NAME: 0.0.0.0
      GRADIO_SERVER_PORT: 7860
    volumes:
      # Main PDFMathTranslate working directory for uploaded/copied files.
      - ./pdf2zh_files:/app/pdf2zh_files
      # Gradio temporary upload directory. Optional, but useful for debugging.
      - ./gradio_tmp:/tmp/gradio
    command: ["pdf2zh", "-i", "--serverport", "7860"]
    stdin_open: true
    tty: true
    restart: unless-stopped

Tag summary

Content type

Image

Digest

sha256:1468119cc

Size

1.8 GB

Last updated

4 months ago

docker pull szcq/pdf2zh