autocontext / templates /index.html
wop's picture
Create templates/index.html
109b981
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Question Answering</title>
</head>
<body>
<form method="post">
<label for="question">Enter your question:</label>
<input type="text" id="question" name="question" required>
<br>
<label for="context">Enter context:</label>
<input type="text" id="context" name="context" required>
<br>
<button type="submit">Ask</button>
</form>
<br>
<p>Answer: {{ answer }}</p>
</body>
</html>