Mauriciotuks commited on
Commit
f19ad3d
·
verified ·
1 Parent(s): 049a099

Create index.html

Browse files
Files changed (1) hide show
  1. index.html +36 -0
index.html ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Chat Llama 3</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
11
+ </head>
12
+ <body>
13
+
14
+ <div id="chat-container">
15
+ <div class="chat-header">
16
+ <h1>Chat avec Llama 3</h1>
17
+ </div>
18
+
19
+ <div class="api-token-section">
20
+ <label for="hf-token-input">Clé d'API Hugging Face</label>
21
+ <input type="password" id="hf-token-input" placeholder="Collez votre clé (hf_...) ici">
22
+ <p class="warning">Votre clé est utilisée uniquement dans votre navigateur et n'est jamais stockée.</p>
23
+ </div>
24
+
25
+ <div id="message-area">
26
+ <div class="message bot-message">Bonjour ! Veuillez entrer votre clé d'API Hugging Face ci-dessus pour commencer.</div>
27
+ </div>
28
+ <form id="input-form">
29
+ <textarea id="user-input" placeholder="Écrivez votre message..." rows="1"></textarea>
30
+ <button id="send-button" type="submit">Envoyer</button>
31
+ </form>
32
+ </div>
33
+
34
+ <script src="script.js"></script>
35
+ </body>
36
+ </html>