vioott commited on
Commit
704425d
·
1 Parent(s): 51cf475

feat(ui): add basic chat interface template

Browse files
Files changed (1) hide show
  1. templates/chat.html +19 -0
templates/chat.html ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Chat com IA</title>
5
+ </head>
6
+ <body>
7
+ <h1>Chat com a IA</h1>
8
+ <form method="post">
9
+ <label for="question">Sua pergunta:</label><br>
10
+ <input type="text" id="question" name="question" required>
11
+ <button type="submit">Enviar</button>
12
+ </form>
13
+
14
+ {% if response %}
15
+ <h2>Resposta:</h2>
16
+ <p>{{ response }}</p>
17
+ {% endif %}
18
+ </body>
19
+ </html>