KevanSoon
commited on
Commit
·
420d9d4
1
Parent(s):
6199b75
change prompt slightly
Browse files
app.py
CHANGED
|
@@ -777,7 +777,7 @@ async def generate_html_from_paddle_ocr(translated_paddle_data: list[dict]) -> s
|
|
| 777 |
1. You MUST output ONLY the FINAL RAW HTML code.
|
| 778 |
- No ```html, no triple quotes, no markdown, no explanations.
|
| 779 |
- Output must begin with <!DOCTYPE html> and end with </html>.
|
| 780 |
-
2. ALL text from the
|
| 781 |
- Every PaddleOCR text must appear exactly once in the correct order and location.
|
| 782 |
3. The HTML must be fully self-contained:
|
| 783 |
- Include <html>, <head>, <style>, and <body>.
|
|
|
|
| 777 |
1. You MUST output ONLY the FINAL RAW HTML code.
|
| 778 |
- No ```html, no triple quotes, no markdown, no explanations.
|
| 779 |
- Output must begin with <!DOCTYPE html> and end with </html>.
|
| 780 |
+
2. ALL text from the input (PaddleOCR) MUST be included in the final HTML without omission.
|
| 781 |
- Every PaddleOCR text must appear exactly once in the correct order and location.
|
| 782 |
3. The HTML must be fully self-contained:
|
| 783 |
- Include <html>, <head>, <style>, and <body>.
|