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

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 this document to well-formatted markdown with headers, bold text, and proper structure."
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 markdown format using # headers, **bold** for important information, and Markdown table syntax (using | and -) instead of HTML."
72
 
73
  with tempfile.TemporaryDirectory() as temp_dir:
74