Spaces:
Running
Running
Upload home.html
Browse files- templates/home.html +38 -0
templates/home.html
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<div class="return">
|
13 |
+
<i class="fa-solid fa-arrow-left"></i>
|
14 |
+
</div>
|
15 |
+
<img src="/resources/aiRobot1.png" alt="AI Assistant Chris">
|
16 |
+
<span>Hi, I’m <em>Aidan</em>, your AI assistant. How can I help you today?</span>
|
17 |
+
</header>
|
18 |
+
<div class="convo"></div>
|
19 |
+
<div class="qtdoc">
|
20 |
+
<div class="qt">
|
21 |
+
<input type="text" id="user-input" placeholder="Ask me anything about any document :D">
|
22 |
+
<div class="icons">
|
23 |
+
<i class="fa-solid fa-image" id="image-btn" title="Upload image"></i>
|
24 |
+
<i class="fa-solid fa-file" id="file-btn" title="Upload file"></i>
|
25 |
+
<button class="sendingQA">Send</button>
|
26 |
+
</div>
|
27 |
+
</div>
|
28 |
+
</div>
|
29 |
+
|
30 |
+
<!-- Hidden file inputs (triggered by icons) -->
|
31 |
+
<input type="file" id="file-upload" accept=".pdf,.doc,.txt" style="display:none">
|
32 |
+
<input type="file" id="image-upload" accept="image/*" style="display:none">
|
33 |
+
|
34 |
+
<script src="/static/application.js"></script>
|
35 |
+
</body>
|
36 |
+
</html>
|
37 |
+
|
38 |
+
|