vioott's picture
feat: add custom stylesheet for improved UI
a204d40
raw
history blame
832 Bytes
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<title>Chat com IA</title>
</head>
<body>
<div class="chat-container">
<form method="post" class="chat-box">
<h1>Chat com a IA</h1>
<p>Oi, {{ history.name }}, espero que esteja tendo um ótimo dia!<br>
Eu sei tudo sobre livros e estou aqui para te ajudar.<br>
O que você deseja saber?</p>
<input type="text" id="question" name="question" required>
<button type="submit">Enviar</button>
</form>
{% if response %}
<div class="response-box">
<h3>Resposta:</h3>
<div class="resposta-formatada">{{ response | safe }}</div>
</div>
{% endif %}
</div>
</body>
</html>