Spaces:
Runtime error
Runtime error
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>OCR BY INK</title> | |
| </head> | |
| <body> | |
| <h1>อัปโหลดภาพเพื่อแปลงเป็นข้อความ</h1> | |
| <form action="/upload" method="post" enctype="multipart/form-data"> | |
| <input type="file" name="image" accept="image/*" required /> | |
| <button type="submit">แปลง</button> | |
| </form> | |
| {% if result %} | |
| <h2>ผลลัพธ์ OCR:</h2> | |
| <pre>{{ result }}</pre> | |
| {% endif %} | |
| </body> | |
| </html> | |