Spaces:
Running
Running
Edit Theme
Browse files- static/404.html +9 -7
- static/emotion_detection.html +18 -5
- static/images/favicon.svg +22 -0
- static/images/logo.svg +0 -6
- static/index.html +15 -13
- static/js/detection.js +4 -5
- static/js/summarizer.js +6 -6
- static/text_summarizer.html +20 -7
static/404.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<link rel="canonical" href="">
|
8 |
<title>Text2Feature | 404 Page</title>
|
9 |
<link rel="stylesheet" href="css/main.css">
|
10 |
-
<link rel="icon" type="image/svg+xml" href="images/
|
11 |
<script defer src="js/main.js"></script>
|
12 |
</head>
|
13 |
|
@@ -30,8 +30,8 @@
|
|
30 |
class="fixed inset-y-0 left-0 z-30 w-64 px-4 overflow-y-auto transition duration-200 transform bg-white border-r border-gray-100 lg:translate-x-0 lg:relative lg:inset-0 ">
|
31 |
<div class="mt-8">
|
32 |
<a href="index.html" class="flex items-center">
|
33 |
-
|
34 |
-
|
35 |
</a>
|
36 |
</div>
|
37 |
|
@@ -132,7 +132,9 @@
|
|
132 |
</span>
|
133 |
|
134 |
<input x-model="search" type="text"
|
135 |
-
class="w-64 h-10 py-2 pl-10 pr-4 text-gray-700 placeholder-gray-400 transition-all duration-150 bg-white border border-gray-200 rounded-md focus:w-80 sm:w-64 sm:focus:w-80 focus:
|
|
|
|
|
136 |
placeholder="Find anything...">
|
137 |
</div>
|
138 |
|
@@ -211,18 +213,18 @@
|
|
211 |
<div class="hidden mt-3 overflow-y-auto text-sm lg:items-center lg:flex whitespace-nowrap">
|
212 |
<a class="text-gray-600">Pages</a>
|
213 |
<span class="mx-1 text-gray-500">/</span>
|
214 |
-
<a href="404.html" class="
|
215 |
</div>
|
216 |
</div>
|
217 |
|
218 |
<div class="mt-6">
|
219 |
<div class="flex flex-col items-center justify-center h-96">
|
220 |
<h1
|
221 |
-
class="font-bold text-transparent text-7xl md:text-9xl bg-clip-text
|
222 |
404</h1>
|
223 |
|
224 |
<div
|
225 |
-
class="w-32 h-1 my-6
|
226 |
</div>
|
227 |
|
228 |
<h2 class="text-xl font-semibold text-gray-800 md:text-3xl">Page not found</h2>
|
|
|
7 |
<link rel="canonical" href="">
|
8 |
<title>Text2Feature | 404 Page</title>
|
9 |
<link rel="stylesheet" href="css/main.css">
|
10 |
+
<link rel="icon" type="image/svg+xml" href="images/favicon.svg">
|
11 |
<script defer src="js/main.js"></script>
|
12 |
</head>
|
13 |
|
|
|
30 |
class="fixed inset-y-0 left-0 z-30 w-64 px-4 overflow-y-auto transition duration-200 transform bg-white border-r border-gray-100 lg:translate-x-0 lg:relative lg:inset-0 ">
|
31 |
<div class="mt-8">
|
32 |
<a href="index.html" class="flex items-center">
|
33 |
+
<img class="w-auto h-8" src="images/favicon.svg" alt="logo">
|
34 |
+
<span class="mx-3 mt-1 font-medium text-lg">Text2<span style="color: #ffa116">Feature</span></span>
|
35 |
</a>
|
36 |
</div>
|
37 |
|
|
|
132 |
</span>
|
133 |
|
134 |
<input x-model="search" type="text"
|
135 |
+
class="w-64 h-10 py-2 pl-10 pr-4 text-gray-700 placeholder-gray-400 transition-all duration-150 bg-white border border-gray-200 rounded-md focus:w-80 sm:w-64 sm:focus:w-80 focus:outline-none focus:ring focus:ring-gray-400 focus:ring-opacity-40"
|
136 |
+
onfocus="this.style.border='1px solid #ffa116';"
|
137 |
+
onblur="this.style.border='1px solid #E5E7EB';"
|
138 |
placeholder="Find anything...">
|
139 |
</div>
|
140 |
|
|
|
213 |
<div class="hidden mt-3 overflow-y-auto text-sm lg:items-center lg:flex whitespace-nowrap">
|
214 |
<a class="text-gray-600">Pages</a>
|
215 |
<span class="mx-1 text-gray-500">/</span>
|
216 |
+
<a href="404.html" class="hover:underline" style="color: #ffa116">404</a>
|
217 |
</div>
|
218 |
</div>
|
219 |
|
220 |
<div class="mt-6">
|
221 |
<div class="flex flex-col items-center justify-center h-96">
|
222 |
<h1
|
223 |
+
class="font-bold text-transparent text-7xl md:text-9xl bg-clip-text" style="color: #ffa116">
|
224 |
404</h1>
|
225 |
|
226 |
<div
|
227 |
+
class="w-32 h-1 my-6 md:my-6" style="background-color: #ffa116"">
|
228 |
</div>
|
229 |
|
230 |
<h2 class="text-xl font-semibold text-gray-800 md:text-3xl">Page not found</h2>
|
static/emotion_detection.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<link rel="canonical" href="">
|
8 |
<title>Text2Feature | Detection</title>
|
9 |
<link rel="stylesheet" href="css/main.css">
|
10 |
-
<link rel="icon" type="image/svg+xml" href="images/
|
11 |
<script defer src="js/main.js"></script>
|
12 |
</head>
|
13 |
|
@@ -30,8 +30,8 @@
|
|
30 |
class="fixed inset-y-0 left-0 z-30 w-64 px-4 overflow-y-auto transition duration-200 transform bg-white border-r border-gray-100 lg:translate-x-0 lg:relative lg:inset-0 ">
|
31 |
<div class="mt-8">
|
32 |
<a href="index.html" class="flex items-center">
|
33 |
-
|
34 |
-
|
35 |
</a>
|
36 |
</div>
|
37 |
|
@@ -131,7 +131,9 @@
|
|
131 |
</span>
|
132 |
|
133 |
<input x-model="search" type="text"
|
134 |
-
class="w-64 h-10 py-2 pl-10 pr-4 text-gray-700 placeholder-gray-400 transition-all duration-150 bg-white border border-gray-200 rounded-md focus:w-80 sm:w-64 sm:focus:w-80 focus:
|
|
|
|
|
135 |
placeholder="Find anything...">
|
136 |
</div>
|
137 |
|
@@ -257,7 +259,18 @@
|
|
257 |
<p id='sum-err' class="hidden mt-2 text-sm text-red-500">Your password is too short.</p>
|
258 |
|
259 |
<div class="flex justify-end">
|
260 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
262 |
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
263 |
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|
|
|
7 |
<link rel="canonical" href="">
|
8 |
<title>Text2Feature | Detection</title>
|
9 |
<link rel="stylesheet" href="css/main.css">
|
10 |
+
<link rel="icon" type="image/svg+xml" href="images/favicon.svg">
|
11 |
<script defer src="js/main.js"></script>
|
12 |
</head>
|
13 |
|
|
|
30 |
class="fixed inset-y-0 left-0 z-30 w-64 px-4 overflow-y-auto transition duration-200 transform bg-white border-r border-gray-100 lg:translate-x-0 lg:relative lg:inset-0 ">
|
31 |
<div class="mt-8">
|
32 |
<a href="index.html" class="flex items-center">
|
33 |
+
<img class="w-auto h-8" src="images/favicon.svg" alt="logo">
|
34 |
+
<span class="mx-3 mt-1 font-medium text-lg">Text2<span style="color: #ffa116">Feature</span></span>
|
35 |
</a>
|
36 |
</div>
|
37 |
|
|
|
131 |
</span>
|
132 |
|
133 |
<input x-model="search" type="text"
|
134 |
+
class="w-64 h-10 py-2 pl-10 pr-4 text-gray-700 placeholder-gray-400 transition-all duration-150 bg-white border border-gray-200 rounded-md focus:w-80 sm:w-64 sm:focus:w-80 focus:outline-none focus:ring focus:ring-gray-400 focus:ring-opacity-40"
|
135 |
+
onfocus="this.style.border='1px solid #ffa116';"
|
136 |
+
onblur="this.style.border='1px solid #E5E7EB';"
|
137 |
placeholder="Find anything...">
|
138 |
</div>
|
139 |
|
|
|
259 |
<p id='sum-err' class="hidden mt-2 text-sm text-red-500">Your password is too short.</p>
|
260 |
|
261 |
<div class="flex justify-end">
|
262 |
+
<style>
|
263 |
+
#submit {
|
264 |
+
background-color: #ffa116;
|
265 |
+
}
|
266 |
+
#submit:hover {
|
267 |
+
background-color: #fcb140;
|
268 |
+
}
|
269 |
+
#submit:focus {
|
270 |
+
box-shadow: 0 0 5px 2px rgb(255, 188, 87);
|
271 |
+
}
|
272 |
+
</style>
|
273 |
+
<button id="submit" type="button" class="w-full flex items-center justify-center px-2 py-2 text-sm font-medium tracking-wide text-white capitalize transition-colors duration-200 transform rounded-md focus:outline-none">
|
274 |
<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
275 |
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
276 |
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|
static/images/favicon.svg
ADDED
|
static/images/logo.svg
DELETED
static/index.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<link rel="canonical" href="">
|
8 |
<title>Text2Feature | Homepage</title>
|
9 |
<link rel="stylesheet" href="css/main.css">
|
10 |
-
<link rel="icon" type="image/svg+xml" href="images/
|
11 |
<script defer src="js/main.js"></script>
|
12 |
</head>
|
13 |
|
@@ -30,8 +30,8 @@
|
|
30 |
class="fixed inset-y-0 left-0 z-30 w-64 px-4 overflow-y-auto transition duration-200 transform bg-white border-r border-gray-100 lg:translate-x-0 lg:relative lg:inset-0 ">
|
31 |
<div class="mt-8">
|
32 |
<a href="index.html" class="flex items-center">
|
33 |
-
|
34 |
-
|
35 |
</a>
|
36 |
</div>
|
37 |
|
@@ -131,7 +131,9 @@
|
|
131 |
</span>
|
132 |
|
133 |
<input x-model="search" type="text"
|
134 |
-
class="w-64 h-10 py-2 pl-10 pr-4 text-gray-700 placeholder-gray-400 transition-all duration-150 bg-white border border-gray-200 rounded-md focus:w-80 sm:w-64 sm:focus:w-80 focus:
|
|
|
|
|
135 |
placeholder="Find anything...">
|
136 |
</div>
|
137 |
|
@@ -209,7 +211,7 @@
|
|
209 |
<div class="hidden mt-3 overflow-y-auto text-sm lg:items-center lg:flex whitespace-nowrap">
|
210 |
<a class="text-gray-600">Pages</a>
|
211 |
<span class="mx-1 text-gray-500">/</span>
|
212 |
-
<a href="" class="
|
213 |
</div>
|
214 |
</div>
|
215 |
|
@@ -221,13 +223,13 @@
|
|
221 |
|
222 |
<div class="flex items-end">
|
223 |
<h2 class="mt-1 text-2xl font-medium text-gray-800">23</h2>
|
224 |
-
<span class="mx-2
|
225 |
+55%
|
226 |
</span>
|
227 |
</div>
|
228 |
</div>
|
229 |
|
230 |
-
<div class="p-2 text-white
|
231 |
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" fill="none"
|
232 |
viewBox="0 0 24 24" stroke="currentColor">
|
233 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
@@ -242,13 +244,13 @@
|
|
242 |
|
243 |
<div class="flex items-end">
|
244 |
<h2 class="mt-1 text-2xl font-medium text-gray-800">54</h2>
|
245 |
-
<span class="mx-2
|
246 |
+5%
|
247 |
</span>
|
248 |
</div>
|
249 |
</div>
|
250 |
|
251 |
-
<div class="p-2 text-white
|
252 |
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" fill="none"
|
253 |
viewBox="0 0 24 24" stroke="currentColor">
|
254 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
@@ -269,7 +271,7 @@
|
|
269 |
</div>
|
270 |
</div>
|
271 |
|
272 |
-
<div class="p-2 text-white
|
273 |
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" fill="none"
|
274 |
viewBox="0 0 24 24" stroke="currentColor">
|
275 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
@@ -287,7 +289,7 @@
|
|
287 |
</div>
|
288 |
</div>
|
289 |
|
290 |
-
<div class="p-2 text-white
|
291 |
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" fill="none"
|
292 |
viewBox="0 0 24 24" stroke="currentColor">
|
293 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
@@ -299,8 +301,8 @@
|
|
299 |
|
300 |
<section class="mt-6 space-y-6">
|
301 |
<div class="w-full p-4 bg-white rounded-lg xl:p-6">
|
302 |
-
<h1 class="text-lg font-medium
|
303 |
-
Welcome to Text2<span
|
304 |
</h1>
|
305 |
<p class="mt-4 text-gray-800">
|
306 |
β your gateway to the world of text processing and analysis! Our tools empower you to
|
|
|
7 |
<link rel="canonical" href="">
|
8 |
<title>Text2Feature | Homepage</title>
|
9 |
<link rel="stylesheet" href="css/main.css">
|
10 |
+
<link rel="icon" type="image/svg+xml" href="images/favicon.svg">
|
11 |
<script defer src="js/main.js"></script>
|
12 |
</head>
|
13 |
|
|
|
30 |
class="fixed inset-y-0 left-0 z-30 w-64 px-4 overflow-y-auto transition duration-200 transform bg-white border-r border-gray-100 lg:translate-x-0 lg:relative lg:inset-0 ">
|
31 |
<div class="mt-8">
|
32 |
<a href="index.html" class="flex items-center">
|
33 |
+
<img class="w-auto h-8" src="images/favicon.svg" alt="logo">
|
34 |
+
<span class="mx-3 mt-1 font-medium text-lg">Text2<span style="color: #ffa116">Feature</span></span>
|
35 |
</a>
|
36 |
</div>
|
37 |
|
|
|
131 |
</span>
|
132 |
|
133 |
<input x-model="search" type="text"
|
134 |
+
class="w-64 h-10 py-2 pl-10 pr-4 text-gray-700 placeholder-gray-400 transition-all duration-150 bg-white border border-gray-200 rounded-md focus:w-80 sm:w-64 sm:focus:w-80 focus:outline-none focus:ring focus:ring-gray-400 focus:ring-opacity-40"
|
135 |
+
onfocus="this.style.border='1px solid #ffa116';"
|
136 |
+
onblur="this.style.border='1px solid #E5E7EB';"
|
137 |
placeholder="Find anything...">
|
138 |
</div>
|
139 |
|
|
|
211 |
<div class="hidden mt-3 overflow-y-auto text-sm lg:items-center lg:flex whitespace-nowrap">
|
212 |
<a class="text-gray-600">Pages</a>
|
213 |
<span class="mx-1 text-gray-500">/</span>
|
214 |
+
<a href="" class="hover:underline" style="color: #ffa116">Homepage</a>
|
215 |
</div>
|
216 |
</div>
|
217 |
|
|
|
223 |
|
224 |
<div class="flex items-end">
|
225 |
<h2 class="mt-1 text-2xl font-medium text-gray-800">23</h2>
|
226 |
+
<span class="mx-2" style="color: #ffa116">
|
227 |
+55%
|
228 |
</span>
|
229 |
</div>
|
230 |
</div>
|
231 |
|
232 |
+
<div class="p-2 text-white rounded-lg" style="background-color: #ffa116">
|
233 |
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" fill="none"
|
234 |
viewBox="0 0 24 24" stroke="currentColor">
|
235 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
|
244 |
|
245 |
<div class="flex items-end">
|
246 |
<h2 class="mt-1 text-2xl font-medium text-gray-800">54</h2>
|
247 |
+
<span class="mx-2" style="color: #ffa116">
|
248 |
+5%
|
249 |
</span>
|
250 |
</div>
|
251 |
</div>
|
252 |
|
253 |
+
<div class="p-2 text-white rounded-lg" style="background-color: #ffa116">
|
254 |
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" fill="none"
|
255 |
viewBox="0 0 24 24" stroke="currentColor">
|
256 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
|
271 |
</div>
|
272 |
</div>
|
273 |
|
274 |
+
<div class="p-2 text-white rounded-lg" style="background-color: #ffa116">
|
275 |
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" fill="none"
|
276 |
viewBox="0 0 24 24" stroke="currentColor">
|
277 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
|
289 |
</div>
|
290 |
</div>
|
291 |
|
292 |
+
<div class="p-2 text-white rounded-lg" style="background-color: #ffa116">
|
293 |
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6" fill="none"
|
294 |
viewBox="0 0 24 24" stroke="currentColor">
|
295 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
|
301 |
|
302 |
<section class="mt-6 space-y-6">
|
303 |
<div class="w-full p-4 bg-white rounded-lg xl:p-6">
|
304 |
+
<h1 class="text-lg font-medium sm:text-xl md:text-2xl">
|
305 |
+
Welcome to Text2<span style="color: #ffa116">Feature</span>!
|
306 |
</h1>
|
307 |
<p class="mt-4 text-gray-800">
|
308 |
β your gateway to the world of text processing and analysis! Our tools empower you to
|
static/js/detection.js
CHANGED
@@ -81,7 +81,7 @@ function _getCaptions(src) {
|
|
81 |
}
|
82 |
|
83 |
|
84 |
-
function summarize(event) {
|
85 |
event.preventDefault();
|
86 |
|
87 |
if (selectOption.value === 'sum-video' && !sumVideoInput.value.startsWith('https://www.youtube.com/watch?v=')) {
|
@@ -125,6 +125,8 @@ function summarize(event) {
|
|
125 |
break;
|
126 |
case 'sum-file':
|
127 |
_extractFile();
|
|
|
|
|
128 |
break;
|
129 |
case 'sum-video':
|
130 |
_getCaptions(sumVideoInput.value);
|
@@ -168,8 +170,5 @@ document.addEventListener("DOMContentLoaded", function () {
|
|
168 |
|
169 |
document.addEventListener("DOMContentLoaded", function () {
|
170 |
var submitButton = document.getElementById("submit");
|
171 |
-
|
172 |
-
submitButton.addEventListener("click", function (e) {
|
173 |
-
summarize(e);
|
174 |
-
});
|
175 |
});
|
|
|
81 |
}
|
82 |
|
83 |
|
84 |
+
async function summarize(event) {
|
85 |
event.preventDefault();
|
86 |
|
87 |
if (selectOption.value === 'sum-video' && !sumVideoInput.value.startsWith('https://www.youtube.com/watch?v=')) {
|
|
|
125 |
break;
|
126 |
case 'sum-file':
|
127 |
_extractFile();
|
128 |
+
summaryText.value = 'Please wait...';
|
129 |
+
await (new Promise(resolve => setTimeout(resolve, 1000)));
|
130 |
break;
|
131 |
case 'sum-video':
|
132 |
_getCaptions(sumVideoInput.value);
|
|
|
170 |
|
171 |
document.addEventListener("DOMContentLoaded", function () {
|
172 |
var submitButton = document.getElementById("submit");
|
173 |
+
submitButton.addEventListener("click", summarize);
|
|
|
|
|
|
|
174 |
});
|
static/js/summarizer.js
CHANGED
@@ -44,9 +44,9 @@ function _extractFile() {
|
|
44 |
const reader = new FileReader();
|
45 |
reader.onload = function() {
|
46 |
extractText.value = reader.result.slice(0, MAX_SIZE);
|
|
|
47 |
};
|
48 |
reader.readAsText(file, 'CP1251');
|
49 |
-
return;
|
50 |
} else if (file.type === 'application/pdf') {
|
51 |
extractText.value = '';
|
52 |
const reader = new FileReader();
|
@@ -80,7 +80,7 @@ function _getCaptions(src) {
|
|
80 |
}
|
81 |
|
82 |
|
83 |
-
function summarize(event) {
|
84 |
event.preventDefault();
|
85 |
|
86 |
if (selectOption.value === 'sum-video' && !sumVideoInput.value.startsWith('https://www.youtube.com/watch?v=')) {
|
@@ -124,11 +124,14 @@ function summarize(event) {
|
|
124 |
break;
|
125 |
case 'sum-file':
|
126 |
_extractFile();
|
|
|
|
|
127 |
break;
|
128 |
case 'sum-video':
|
129 |
_getCaptions(sumVideoInput.value);
|
130 |
break;
|
131 |
}
|
|
|
132 |
_summarize(extractText.value);
|
133 |
}
|
134 |
|
@@ -167,8 +170,5 @@ document.addEventListener("DOMContentLoaded", function () {
|
|
167 |
|
168 |
document.addEventListener("DOMContentLoaded", function () {
|
169 |
var submitButton = document.getElementById("submit");
|
170 |
-
|
171 |
-
submitButton.addEventListener("click", function (e) {
|
172 |
-
summarize(e);
|
173 |
-
});
|
174 |
});
|
|
|
44 |
const reader = new FileReader();
|
45 |
reader.onload = function() {
|
46 |
extractText.value = reader.result.slice(0, MAX_SIZE);
|
47 |
+
// extractText.value = reader.result.slice(0, MAX_SIZE);
|
48 |
};
|
49 |
reader.readAsText(file, 'CP1251');
|
|
|
50 |
} else if (file.type === 'application/pdf') {
|
51 |
extractText.value = '';
|
52 |
const reader = new FileReader();
|
|
|
80 |
}
|
81 |
|
82 |
|
83 |
+
async function summarize(event) {
|
84 |
event.preventDefault();
|
85 |
|
86 |
if (selectOption.value === 'sum-video' && !sumVideoInput.value.startsWith('https://www.youtube.com/watch?v=')) {
|
|
|
124 |
break;
|
125 |
case 'sum-file':
|
126 |
_extractFile();
|
127 |
+
summaryText.value = 'Please wait...';
|
128 |
+
await (new Promise(resolve => setTimeout(resolve, 1000)));
|
129 |
break;
|
130 |
case 'sum-video':
|
131 |
_getCaptions(sumVideoInput.value);
|
132 |
break;
|
133 |
}
|
134 |
+
|
135 |
_summarize(extractText.value);
|
136 |
}
|
137 |
|
|
|
170 |
|
171 |
document.addEventListener("DOMContentLoaded", function () {
|
172 |
var submitButton = document.getElementById("submit");
|
173 |
+
submitButton.addEventListener("click", summarize);
|
|
|
|
|
|
|
174 |
});
|
static/text_summarizer.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<link rel="canonical" href="">
|
8 |
<title>Text2Feature | Summarizer</title>
|
9 |
<link rel="stylesheet" href="css/main.css">
|
10 |
-
<link rel="icon" type="image/svg+xml" href="images/
|
11 |
<script defer src="js/main.js"></script>
|
12 |
</head>
|
13 |
|
@@ -30,8 +30,8 @@
|
|
30 |
class="fixed inset-y-0 left-0 z-30 w-64 px-4 overflow-y-auto transition duration-200 transform bg-white border-r border-gray-100 lg:translate-x-0 lg:relative lg:inset-0 ">
|
31 |
<div class="mt-8">
|
32 |
<a href="index.html" class="flex items-center">
|
33 |
-
|
34 |
-
|
35 |
</a>
|
36 |
</div>
|
37 |
|
@@ -131,7 +131,9 @@
|
|
131 |
</span>
|
132 |
|
133 |
<input x-model="search" type="text"
|
134 |
-
class="w-64 h-10 py-2 pl-10 pr-4 text-gray-700 placeholder-gray-400 transition-all duration-150 bg-white border border-gray-200 rounded-md focus:w-80 sm:w-64 sm:focus:w-80 focus:
|
|
|
|
|
135 |
placeholder="Find anything...">
|
136 |
</div>
|
137 |
|
@@ -209,7 +211,7 @@
|
|
209 |
<div class="hidden mt-3 overflow-y-auto text-sm lg:items-center lg:flex whitespace-nowrap">
|
210 |
<a class="text-gray-600">Pages</a>
|
211 |
<span class="mx-1 text-gray-500">/</span>
|
212 |
-
<a href="" class="
|
213 |
</div>
|
214 |
</div>
|
215 |
|
@@ -246,7 +248,7 @@
|
|
246 |
d="M16.88 9.1A4 4 0 0 1 16 17H5a5 5 0 0 1-1-9.9V7a3 3 0 0 1 4.52-2.59A4.98 4.98 0 0 1 17 8c0 .38-.04.74-.12 1.1zM11 11h3l-4-4-4 4h3v3h2v-3z">
|
247 |
</path>
|
248 |
</svg>
|
249 |
-
<span class="mt-4">Select
|
250 |
<input id="sum-file-input" type="file" accept=".pdf, .txt" class="hidden">
|
251 |
</label>
|
252 |
</div>
|
@@ -259,7 +261,18 @@
|
|
259 |
<p id='sum-err' class="hidden mt-2 text-sm text-red-500">Your password is too short.</p>
|
260 |
|
261 |
<div class="flex justify-end">
|
262 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
264 |
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
265 |
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|
|
|
7 |
<link rel="canonical" href="">
|
8 |
<title>Text2Feature | Summarizer</title>
|
9 |
<link rel="stylesheet" href="css/main.css">
|
10 |
+
<link rel="icon" type="image/svg+xml" href="images/favicon.svg">
|
11 |
<script defer src="js/main.js"></script>
|
12 |
</head>
|
13 |
|
|
|
30 |
class="fixed inset-y-0 left-0 z-30 w-64 px-4 overflow-y-auto transition duration-200 transform bg-white border-r border-gray-100 lg:translate-x-0 lg:relative lg:inset-0 ">
|
31 |
<div class="mt-8">
|
32 |
<a href="index.html" class="flex items-center">
|
33 |
+
<img class="w-auto h-8" src="images/favicon.svg" alt="logo">
|
34 |
+
<span class="mx-3 mt-1 font-medium text-lg">Text2<span style="color: #ffa116">Feature</span></span>
|
35 |
</a>
|
36 |
</div>
|
37 |
|
|
|
131 |
</span>
|
132 |
|
133 |
<input x-model="search" type="text"
|
134 |
+
class="w-64 h-10 py-2 pl-10 pr-4 text-gray-700 placeholder-gray-400 transition-all duration-150 bg-white border border-gray-200 rounded-md focus:w-80 sm:w-64 sm:focus:w-80 focus:outline-none focus:ring focus:ring-gray-400 focus:ring-opacity-40"
|
135 |
+
onfocus="this.style.border='1px solid #ffa116';"
|
136 |
+
onblur="this.style.border='1px solid #E5E7EB';"
|
137 |
placeholder="Find anything...">
|
138 |
</div>
|
139 |
|
|
|
211 |
<div class="hidden mt-3 overflow-y-auto text-sm lg:items-center lg:flex whitespace-nowrap">
|
212 |
<a class="text-gray-600">Pages</a>
|
213 |
<span class="mx-1 text-gray-500">/</span>
|
214 |
+
<a href="" class="hover:underline" style="color: #ffa116;">Text_Summarizer</a>
|
215 |
</div>
|
216 |
</div>
|
217 |
|
|
|
248 |
d="M16.88 9.1A4 4 0 0 1 16 17H5a5 5 0 0 1-1-9.9V7a3 3 0 0 1 4.52-2.59A4.98 4.98 0 0 1 17 8c0 .38-.04.74-.12 1.1zM11 11h3l-4-4-4 4h3v3h2v-3z">
|
249 |
</path>
|
250 |
</svg>
|
251 |
+
<span class="mt-4">Select File</span>
|
252 |
<input id="sum-file-input" type="file" accept=".pdf, .txt" class="hidden">
|
253 |
</label>
|
254 |
</div>
|
|
|
261 |
<p id='sum-err' class="hidden mt-2 text-sm text-red-500">Your password is too short.</p>
|
262 |
|
263 |
<div class="flex justify-end">
|
264 |
+
<style>
|
265 |
+
#submit {
|
266 |
+
background-color: #ffa116;
|
267 |
+
}
|
268 |
+
#submit:hover {
|
269 |
+
background-color: #fcb140;
|
270 |
+
}
|
271 |
+
#submit:focus {
|
272 |
+
box-shadow: 0 0 5px 2px rgb(255, 188, 87);
|
273 |
+
}
|
274 |
+
</style>
|
275 |
+
<button id="submit" type="button" class="w-full flex items-center justify-center px-2 py-2 text-sm font-medium tracking-wide text-white capitalize transition-colors duration-200 transform rounded-md focus:outline-none">
|
276 |
<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
277 |
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
278 |
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|