Spaces:
Runtime error
Runtime error
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Image OCR with musadac/vilanocr</title> | |
</head> | |
<body> | |
<h1>Image OCR with musadac/vilanocr</h1> | |
<form action="/upload/" enctype="multipart/form-data" method="post"> | |
<input type="file" name="image" accept="image/*" required> | |
<br> | |
<br> | |
<button type="submit">Upload</button> | |
</form> | |
{% if request %} | |
<hr> | |
<h2>OCR Result:</h2> | |
<p>{{ request.result }}</p> | |
{% endif %} | |
</body> | |
</html> |