Spaces:
Sleeping
Sleeping
Update hotkeys
Browse files- files/js/detection.js +4 -4
- files/js/grammar.js +4 -4
- files/js/summarizer.js +4 -4
- static/emotion_detection.html +1 -1
- static/grammar_checker.html +1 -1
- static/text_summarizer.html +1 -1
files/js/detection.js
CHANGED
@@ -160,13 +160,13 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
160 |
});
|
161 |
|
162 |
document.addEventListener('keydown', function(event) {
|
163 |
-
if (event.
|
|
|
164 |
_show_original();
|
165 |
}
|
166 |
-
});
|
167 |
|
168 |
-
|
169 |
-
|
170 |
_show_summary();
|
171 |
}
|
172 |
});
|
|
|
160 |
});
|
161 |
|
162 |
document.addEventListener('keydown', function(event) {
|
163 |
+
if (event.key === 'PageUp' || event.key === 'Home') {
|
164 |
+
event.preventDefault();
|
165 |
_show_original();
|
166 |
}
|
|
|
167 |
|
168 |
+
else if (event.key === 'PageDown' || event.key == 'End') {
|
169 |
+
event.preventDefault();
|
170 |
_show_summary();
|
171 |
}
|
172 |
});
|
files/js/grammar.js
CHANGED
@@ -160,13 +160,13 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
160 |
});
|
161 |
|
162 |
document.addEventListener('keydown', function(event) {
|
163 |
-
if (event.
|
|
|
164 |
_show_original();
|
165 |
}
|
166 |
-
});
|
167 |
|
168 |
-
|
169 |
-
|
170 |
_show_summary();
|
171 |
}
|
172 |
});
|
|
|
160 |
});
|
161 |
|
162 |
document.addEventListener('keydown', function(event) {
|
163 |
+
if (event.key === 'PageUp' || event.key === 'Home') {
|
164 |
+
event.preventDefault();
|
165 |
_show_original();
|
166 |
}
|
|
|
167 |
|
168 |
+
else if (event.key === 'PageDown' || event.key == 'End') {
|
169 |
+
event.preventDefault();
|
170 |
_show_summary();
|
171 |
}
|
172 |
});
|
files/js/summarizer.js
CHANGED
@@ -208,13 +208,13 @@ document.addEventListener('DOMContentLoaded', function () {
|
|
208 |
});
|
209 |
|
210 |
document.addEventListener('keydown', function(event) {
|
211 |
-
if (event.
|
|
|
212 |
_show_original();
|
213 |
}
|
214 |
-
});
|
215 |
|
216 |
-
|
217 |
-
|
218 |
_show_summary();
|
219 |
}
|
220 |
});
|
|
|
208 |
});
|
209 |
|
210 |
document.addEventListener('keydown', function(event) {
|
211 |
+
if (event.key === 'PageUp' || event.key === 'Home') {
|
212 |
+
event.preventDefault();
|
213 |
_show_original();
|
214 |
}
|
|
|
215 |
|
216 |
+
else if (event.key === 'PageDown' || event.key == 'End') {
|
217 |
+
event.preventDefault();
|
218 |
_show_summary();
|
219 |
}
|
220 |
});
|
static/emotion_detection.html
CHANGED
@@ -300,7 +300,7 @@
|
|
300 |
<ul class="mt-2 text-gray-800" style="list-style-type: disc; list-style-position: inside;">
|
301 |
<li>Intuitive UI (User Interface)</li>
|
302 |
<li>Automated emotion detection for texts of varying lengths (text must be less than 20K characters)</li>
|
303 |
-
<li>Hotkeys: press <kbd>Ctrl</kbd>+<kbd>Enter</kbd> to <b>Detect</b>, press <kbd>
|
304 |
</ul>
|
305 |
<p class="mt-4 text-gray-800">
|
306 |
If you want to learn more about the project, here is a link to the github repository: <a class="text-indigo-700 no-invert hover:text-gold" href="https://github.com/Djacon/russian-emotion-detection" target="_blank">Djacon/Emotion-Detection</a>
|
|
|
300 |
<ul class="mt-2 text-gray-800" style="list-style-type: disc; list-style-position: inside;">
|
301 |
<li>Intuitive UI (User Interface)</li>
|
302 |
<li>Automated emotion detection for texts of varying lengths (text must be less than 20K characters)</li>
|
303 |
+
<li>Hotkeys: press <kbd>Ctrl</kbd>+<kbd>Enter</kbd> to <b>Detect</b>, press <kbd>PgUp/Home</kbd> or <kbd>PgDn/End</kbd> to <b>switch between tabs.</b></li>
|
304 |
</ul>
|
305 |
<p class="mt-4 text-gray-800">
|
306 |
If you want to learn more about the project, here is a link to the github repository: <a class="text-indigo-700 no-invert hover:text-gold" href="https://github.com/Djacon/russian-emotion-detection" target="_blank">Djacon/Emotion-Detection</a>
|
static/grammar_checker.html
CHANGED
@@ -300,7 +300,7 @@
|
|
300 |
<ul class="mt-2 text-gray-800" style="list-style-type: disc; list-style-position: inside;">
|
301 |
<li>Intuitive UI (User Interface)</li>
|
302 |
<li>Automated grammar checker for texts of varying lengths (text must be less than 20K characters)</li>
|
303 |
-
<li>Hotkeys: press <kbd>Ctrl</kbd>+<kbd>Enter</kbd> to <b>Check</b>, press <kbd>
|
304 |
</ul>
|
305 |
<p class="mt-4 text-gray-800">
|
306 |
If you want to learn more about the project, here is a link to the github repository: <a class="text-indigo-700 no-invert hover:text-gold" href="https://github.com/Djacon/mbert-gram" target="_blank">Djacon/mBert-Gram</a>
|
|
|
300 |
<ul class="mt-2 text-gray-800" style="list-style-type: disc; list-style-position: inside;">
|
301 |
<li>Intuitive UI (User Interface)</li>
|
302 |
<li>Automated grammar checker for texts of varying lengths (text must be less than 20K characters)</li>
|
303 |
+
<li>Hotkeys: press <kbd>Ctrl</kbd>+<kbd>Enter</kbd> to <b>Check</b>, press <kbd>PgUp/Home</kbd> or <kbd>PgDn/End</kbd> to <b>switch between tabs.</b></li>
|
304 |
</ul>
|
305 |
<p class="mt-4 text-gray-800">
|
306 |
If you want to learn more about the project, here is a link to the github repository: <a class="text-indigo-700 no-invert hover:text-gold" href="https://github.com/Djacon/mbert-gram" target="_blank">Djacon/mBert-Gram</a>
|
static/text_summarizer.html
CHANGED
@@ -317,7 +317,7 @@
|
|
317 |
<ul class="mt-2 text-gray-800" style="list-style-type: disc; list-style-position: inside;">
|
318 |
<li>Intuitive UI (User Interface)</li>
|
319 |
<li>Automated text summarization for texts of varying lengths (text must be between 250 and 100K characters)</li>
|
320 |
-
<li>Hotkeys: press <kbd>Ctrl</kbd>+<kbd>Enter</kbd> to <b>Summarize</b>, press <kbd>
|
321 |
</ul>
|
322 |
<p class="mt-4 text-gray-800">
|
323 |
If you want to learn more about the project, here is a link to the github repository: <a class="text-indigo-700 no-invert hover:text-gold" href="https://github.com/Djacon/text-summarization" target="_blank">Djacon/Text-Summarization</a>
|
|
|
317 |
<ul class="mt-2 text-gray-800" style="list-style-type: disc; list-style-position: inside;">
|
318 |
<li>Intuitive UI (User Interface)</li>
|
319 |
<li>Automated text summarization for texts of varying lengths (text must be between 250 and 100K characters)</li>
|
320 |
+
<li>Hotkeys: press <kbd>Ctrl</kbd>+<kbd>Enter</kbd> to <b>Summarize</b>, press <kbd>PgUp/Home</kbd> or <kbd>PgDn/End</kbd> to <b>switch between tabs.</b></li>
|
321 |
</ul>
|
322 |
<p class="mt-4 text-gray-800">
|
323 |
If you want to learn more about the project, here is a link to the github repository: <a class="text-indigo-700 no-invert hover:text-gold" href="https://github.com/Djacon/text-summarization" target="_blank">Djacon/Text-Summarization</a>
|