Files
maryam-ocr/src/templates/search.html
T

23 lines
504 B
HTML
Raw Normal View History

2025-08-04 14:50:33 +01:00
<!DOCTYPE html>
<html>
<head>
<title>Vector Search</title>
</head>
<body>
<h1>Semantic Search</h1>
<form method="post">
<input type="text" name="query" placeholder="Enter your query">
<button type="submit">Search</button>
</form>
{% if results %}
<h2>Results</h2>
<ul>
{% for item in results %}
<li><strong>{{ item.document_id }}</strong>: {{ item.content }}</li>
{% endfor %}
</ul>
{% endif %}
</body>
</html>