Update handler.py
Browse files- 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
|
| 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 |
|