Subbu1304 commited on
Commit
e11e793
·
verified ·
1 Parent(s): ba2c1f5

Create templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +21 -0
templates/index.html ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Invoice OCR</title>
7
+ </head>
8
+ <body>
9
+ <h1>Invoice OCR Processing</h1>
10
+ <form action="/upload" method="POST" enctype="multipart/form-data">
11
+ <label for="invoice_image">Upload Invoice Image:</label>
12
+ <input type="file" name="invoice_image" id="invoice_image" required>
13
+ <button type="submit">Upload</button>
14
+ </form>
15
+
16
+ {% if extracted_text %}
17
+ <h2>Extracted Text:</h2>
18
+ <pre>{{ extracted_text }}</pre>
19
+ {% endif %}
20
+ </body>
21
+ </html>