Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Chatbot</title> | |
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}"> | |
</head> | |
<body> | |
<div class="container"> | |
<form action="/" method="post"> | |
<label for="message">Enter your name:</label> | |
<input type="text" name="message" id="message" required> | |
<button type="submit">Submit</button> | |
</form> | |
<div class="response"> | |
{% if response %} | |
<p>Chatbot response: {{ response }}</p> | |
{% endif %} | |
</div> | |
</div> | |
</body> | |
</html> | |