first commit
This commit is contained in:
@@ -17,8 +17,8 @@ model = model.eval().cuda().to(torch.bfloat16)
|
||||
|
||||
# prompt = "<image>\nFree OCR. "
|
||||
prompt = "<image>\n<|grounding|>Convert the document to markdown. "
|
||||
image_file = 'your_image.jpg'
|
||||
output_path = 'your/output/dir'
|
||||
image_file = '/workspace/2025-27484-M21472.pdf'
|
||||
output_path = '/workspace/output_hf'
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user