입출력 로직 변경

This commit is contained in:
kyy
2025-10-27 15:36:17 +09:00
parent 758b9afe9a
commit 64550b1fd5
4 changed files with 310 additions and 212 deletions

View File

@@ -22,7 +22,8 @@ MODEL_PATH = "deepseek-ai/DeepSeek-OCR" # change to your model path
# Omnidocbench images path: run_dpsk_ocr_eval_batch.py
INPUT_PATH = "/workspace/2018-0802140959-217049.pdf"
PDF_INPUT_PATH = "/workspace/2018-0802140959-217049.pdf"
IMAGE_INPUT_PATH = "/workspace/20250730180509-798-917-821.jpg"
OUTPUT_PATH = "/workspace/output/"
PROMPT = "<image>\n<|grounding|>Convert the document to markdown."