Spaces:
Running
Running
Update templates/home.html
Browse files- templates/home.html +21 -19
templates/home.html
CHANGED
@@ -1,31 +1,33 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
</head>
|
10 |
<body>
|
11 |
-
|
12 |
-
<img src="/resources/aiRobot1.png" alt="">
|
13 |
<span>Hi, I’m <em>Chris</em>, your AI assistant. How can I help you today?</span>
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
<div class="qtdoc">
|
19 |
<div class="qt">
|
20 |
-
<input type="text" id="
|
21 |
<div class="icons">
|
22 |
-
<i class="fa-solid fa-image"></i>
|
23 |
-
<i class="fa-solid fa-file"></i>
|
24 |
-
<
|
25 |
</div>
|
26 |
</div>
|
27 |
-
|
|
|
|
|
|
|
|
|
28 |
|
29 |
-
|
30 |
</body>
|
31 |
-
</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 Question Answering</title>
|
7 |
+
<link rel="stylesheet" href="/static/app.css">
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
9 |
</head>
|
10 |
<body>
|
11 |
+
<header class="intro">
|
12 |
+
<img src="/resources/aiRobot1.png" alt="AI Assistant Chris">
|
13 |
<span>Hi, I’m <em>Chris</em>, your AI assistant. How can I help you today?</span>
|
14 |
+
</header>
|
15 |
+
<div class="convo"></div>
|
16 |
+
<div class="qtdoc">
|
|
|
|
|
17 |
<div class="qt">
|
18 |
+
<input type="text" id="user-input" placeholder="Ask me anything about any document :D">
|
19 |
<div class="icons">
|
20 |
+
<i class="fa-solid fa-image" id="image-btn" title="Upload image"></i>
|
21 |
+
<i class="fa-solid fa-file" id="file-btn" title="Upload file"></i>
|
22 |
+
<button class="sendingQA">Send</button>
|
23 |
</div>
|
24 |
</div>
|
25 |
+
</div>
|
26 |
+
|
27 |
+
<!-- Hidden file inputs (triggered by icons) -->
|
28 |
+
<input type="file" id="file-upload" accept=".pdf,.doc,.txt" style="display:none">
|
29 |
+
<input type="file" id="image-upload" accept="image/*" style="display:none">
|
30 |
|
31 |
+
<script src="/static/application.js"></script>
|
32 |
</body>
|
33 |
+
</html>
|