Spaces:
Sleeping
Sleeping
Upload index.html
Browse files- frontend/index.html +106 -0
frontend/index.html
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
|
| 4 |
+
<head>
|
| 5 |
+
<title>WallD</title>
|
| 6 |
+
<meta charset="utf-8">
|
| 7 |
+
<link rel="stylesheet" href="/assets/style.css">
|
| 8 |
+
<link href="/assets/prism-tomorrow-night.css " rel="stylesheet" />
|
| 9 |
+
<link rel="icon" type="image/ico" href="/images/WallD.ico">
|
| 10 |
+
</head>
|
| 11 |
+
|
| 12 |
+
<body>
|
| 13 |
+
<header>
|
| 14 |
+
<span class="title-bar">
|
| 15 |
+
<span class="left-group">
|
| 16 |
+
<img src="/images/WallD.png" alt="logo" height="50px">
|
| 17 |
+
<h1>WallD</h1>
|
| 18 |
+
</span>
|
| 19 |
+
<span class="right-group">
|
| 20 |
+
<button class="new-conv" id="newConvButton" data-tooltip="New Conversation" shortcut="ctrl+alt+N">
|
| 21 |
+
<img src="images/newconvo.png" alt="new conversation" height="20px">
|
| 22 |
+
</button>
|
| 23 |
+
<button class="history" id="historyButton" data-tooltip="History" shortcut="ctrl+⇧H">
|
| 24 |
+
<img src="/images/history.png" alt="history" height="20px">
|
| 25 |
+
</button>
|
| 26 |
+
</span>
|
| 27 |
+
</span>
|
| 28 |
+
</header>
|
| 29 |
+
|
| 30 |
+
<main class="chat-container">
|
| 31 |
+
<div class="welcome" id="welcome-message">
|
| 32 |
+
<h1 class="main-title">I'm WallD, your bot mate</h1>
|
| 33 |
+
<p class="subtitle">How can I help you today?</p>
|
| 34 |
+
<div class="functions" id="functions-box">
|
| 35 |
+
<div class="doc-sum">
|
| 36 |
+
<img src="/images/summ.png" alt="Document Summarization">
|
| 37 |
+
<div class="text-content">
|
| 38 |
+
<label>Document Summarization</label>
|
| 39 |
+
<p>Upload excel(.xlsx), docx, pptx, pdf or txt and write <em>summarize</em></p>
|
| 40 |
+
</div>
|
| 41 |
+
</div>
|
| 42 |
+
<div class="img-inter">
|
| 43 |
+
<img src="/images/img.png" alt="Image Interpretation">
|
| 44 |
+
<div class="text-content">
|
| 45 |
+
<label>Image Interpretation</label>
|
| 46 |
+
<p>Upload and image (.jpg, .png, .jpeg) and write <em>interpretation</em></p>
|
| 47 |
+
</div>
|
| 48 |
+
</div>
|
| 49 |
+
<div class="doc-tran">
|
| 50 |
+
<img src="/images/doc-tran.png" alt="Documment Translation">
|
| 51 |
+
<div class="text-content">
|
| 52 |
+
<label>Documment Translation</label>
|
| 53 |
+
<p>Upload excel(.xlsx), docx, pptx, pdf or txt and write <em>translate to [language]</em></p>
|
| 54 |
+
</div>
|
| 55 |
+
</div>
|
| 56 |
+
<div class="Q-A">
|
| 57 |
+
<img src="/images/qa.png" alt="Question Answering">
|
| 58 |
+
<div class="text-content">
|
| 59 |
+
<label>Question Answering</label>
|
| 60 |
+
<p>Upload documents or images, and start your request by <em>tell me [your question]</em></p>
|
| 61 |
+
</div>
|
| 62 |
+
</div>
|
| 63 |
+
<div class="visual">
|
| 64 |
+
<img src="/images/visual.png" alt="Data Visualization Code Generator">
|
| 65 |
+
<div class="text-content">
|
| 66 |
+
<label>Data Visualization Code Generator</label>
|
| 67 |
+
<p>Upload Excel documents and write <em>generate code of [your description]</em></p>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<div class="chat-messages" id="chatMessages">
|
| 74 |
+
<!-- The chat place -->
|
| 75 |
+
</div>
|
| 76 |
+
|
| 77 |
+
<div class="chat-input">
|
| 78 |
+
<div class="attachment-file"></div>
|
| 79 |
+
<div class="input-row">
|
| 80 |
+
<span class="text-placeholder">What do you want to do?</span>
|
| 81 |
+
<textarea aria-label="write your prompt" id="userInput"></textarea>
|
| 82 |
+
<button class="send" id="sendButton" disabled>
|
| 83 |
+
<img src="/images/send.png" alt="send" height="20px">
|
| 84 |
+
</button>
|
| 85 |
+
<label for="fileInput" class="attachment" id="attachmentButton" data-tooltip="Attach">
|
| 86 |
+
<img src="/images/attach.png" alt="attach" height="20px">
|
| 87 |
+
</label>
|
| 88 |
+
<input type="file" id="fileInput" accept=".png, .jpg, .docx, .xlsx, .ppt, .pdf">
|
| 89 |
+
</div>
|
| 90 |
+
</div>
|
| 91 |
+
<div class="background-of-input"></div>
|
| 92 |
+
</main>
|
| 93 |
+
|
| 94 |
+
<div class="history-container" id="historyContainer">
|
| 95 |
+
<ul id="historyList"></ul>
|
| 96 |
+
</div>
|
| 97 |
+
|
| 98 |
+
<footer>© <span id="currentYear"></span></footer>
|
| 99 |
+
<script>
|
| 100 |
+
document.getElementById('currentYear').textContent = new Date().getFullYear();
|
| 101 |
+
</script>
|
| 102 |
+
<script src="/assets/prism-tomorrow-night.js" defer></script>
|
| 103 |
+
<script src="/assets/script.js"></script>
|
| 104 |
+
</body>
|
| 105 |
+
|
| 106 |
+
</html>
|