whackthejacker commited on
Commit
77d2e64
·
verified ·
1 Parent(s): 3ac96ac

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +49 -21
index.html CHANGED
@@ -1,29 +1,57 @@
1
  <!DOCTYPE html>
2
  <html lang="en">
3
-
4
  <head>
5
- <meta charset="UTF-8" />
6
- <link rel="stylesheet" href="style.css" />
7
-
8
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
9
- <title>Transformers.js - Object Detection</title>
 
10
  </head>
11
-
12
  <body>
13
- <h1>Object Detection w/ 🤗 Transformers.js</h1>
14
- <label id="container" for="upload">
15
- <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
16
- <path fill="#000"
17
- d="M3.5 24.3a3 3 0 0 1-1.9-.8c-.5-.5-.8-1.2-.8-1.9V2.9c0-.7.3-1.3.8-1.9.6-.5 1.2-.7 2-.7h18.6c.7 0 1.3.2 1.9.7.5.6.7 1.2.7 2v18.6c0 .7-.2 1.4-.7 1.9a3 3 0 0 1-2 .8H3.6Zm0-2.7h18.7V2.9H3.5v18.7Zm2.7-2.7h13.3c.3 0 .5 0 .6-.3v-.7l-3.7-5a.6.6 0 0 0-.6-.2c-.2 0-.4 0-.5.3l-3.5 4.6-2.4-3.3a.6.6 0 0 0-.6-.3c-.2 0-.4.1-.5.3l-2.7 3.6c-.1.2-.2.4 0 .7.1.2.3.3.6.3Z">
18
- </path>
19
- </svg>
20
- Click to upload image
21
- <label id="example">(or try example)</label>
22
- </label>
23
- <label id="status">Loading model...</label>
24
- <input id="upload" type="file" accept="image/*" />
 
 
 
 
 
 
 
 
25
 
26
- <script src="index.js" type="module"></script>
27
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
 
 
 
 
 
29
  </html>
 
1
  <!DOCTYPE html>
2
  <html lang="en">
 
3
  <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AI-Powered Chat-Driven Data Dashboards</title>
7
+ <!-- Bootstrap CSS -->
8
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
9
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
10
  </head>
 
11
  <body>
12
+ <!-- Navigation -->
13
+ <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
14
+ <a class="navbar-brand" href="#">DataDash</a>
15
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
16
+ <span class="navbar-toggler-icon"></span>
17
+ </button>
18
+ <div class="collapse navbar-collapse" id="navbarNav">
19
+ <ul class="navbar-nav ml-auto">
20
+ <li class="nav-item active">
21
+ <a class="nav-link" href="#">Home</a>
22
+ </li>
23
+ <li class="nav-item">
24
+ <a class="nav-link" href="#">Features</a>
25
+ </li>
26
+ <li class="nav-item">
27
+ <a class="nav-link" href="#">Contact</a>
28
+ </li>
29
+ </ul>
30
+ </div>
31
+ </nav>
32
 
33
+ <!-- Hero Section -->
34
+ <header class="hero bg-primary text-white text-center py-5">
35
+ <h1>AI-Powered Chat-Driven Data Dashboards</h1>
36
+ <p>Turn charts into conversations!</p>
37
+ </header>
38
+
39
+ <!-- Chat Section -->
40
+ <section id="chat" class="py-5">
41
+ <div class="container">
42
+ <h2 class="text-center">Chat with our AI</h2>
43
+ <div class="chat-box border rounded p-3">
44
+ <div id="messages" class="mb-3" style="height: 300px; overflow-y: auto;"></div>
45
+ <input type="text" id="userInput" class="form-control" placeholder="Ask me anything about data...">
46
+ <button id="sendBtn" class="btn btn-success mt-2">Send</button>
47
+ </div>
48
+ <canvas id="chart" class="mt-5" style="display:none;"></canvas>
49
+ </div>
50
+ </section>
51
 
52
+ <!-- Bootstrap & jQuery JS -->
53
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
54
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
55
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
56
+ </body>
57
  </html>