billing / templates /index.html
Subbu1304's picture
Create templates/index.html
e11e793 verified
raw
history blame contribute delete
630 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Invoice OCR</title>
</head>
<body>
<h1>Invoice OCR Processing</h1>
<form action="/upload" method="POST" enctype="multipart/form-data">
<label for="invoice_image">Upload Invoice Image:</label>
<input type="file" name="invoice_image" id="invoice_image" required>
<button type="submit">Upload</button>
</form>
{% if extracted_text %}
<h2>Extracted Text:</h2>
<pre>{{ extracted_text }}</pre>
{% endif %}
</body>
</html>