File size: 963 Bytes
701d7dd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chat with Sheldon</title>
</head>
<body>
<h2 style="font-style:italic; text-align:center">Chat bot Sheldon</h2>
<p style="text-align:center">Home work 1</p>
<p style="text-align:center">by Petrov DE</p>
<hr />
<div>
<p style="text-align:center">Answer: {{ answer }}</p>
</div>
<form method="post" action="/" style="text-align:center">
<label>
Context:
</label>
<label>
<input type="text" name="context"/>
</label>
<label>
Question:
</label>
<label>
<input type="text" name="question"/>
</label>
<input type="submit" value="One answer" name="get_answer"/>
<input type="submit" value="Five answer" name="get_answer_corpus" />
</form>
</body>
</html>
|