wealthcoders commited on
Commit
20aec50
·
verified ·
1 Parent(s): 47a7709

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -68,7 +68,7 @@ class EndpointHandler:
68
  image_data = base64.b64decode(base64_string)
69
 
70
  # Define the prompt for Markdown conversion
71
- prompt = "<image>\n<|grounding|>Convert the document to markdown."
72
 
73
  with tempfile.TemporaryDirectory() as temp_dir:
74
 
 
68
  image_data = base64.b64decode(base64_string)
69
 
70
  # Define the prompt for Markdown conversion
71
+ prompt = "<image>\n<|grounding|>Convert this document to well-formatted markdown with headers, bold text, and proper structure."
72
 
73
  with tempfile.TemporaryDirectory() as temp_dir:
74