Asanaly
commited on
Update index.html
Browse files- index.html +17 -22
index.html
CHANGED
|
@@ -1,34 +1,29 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<title>Scientific Article Summarizer</title>
|
| 6 |
-
<link rel="stylesheet" href="styles.css">
|
| 7 |
</head>
|
| 8 |
<body>
|
| 9 |
-
<h1>Scientific Article Summarizer</h1>
|
| 10 |
|
| 11 |
-
|
| 12 |
-
<h2>Summarize Text</h2>
|
| 13 |
-
<select id="langSelect">
|
| 14 |
-
<option value="en">English</option>
|
| 15 |
-
<option value="ru">Русский</option>
|
| 16 |
-
</select>
|
| 17 |
-
<textarea id="inputText" placeholder="Insert scientific text..."></textarea>
|
| 18 |
-
<button id="summarizeTextBtn">Summarize Text</button>
|
| 19 |
|
| 20 |
-
|
| 21 |
-
<input type="file" id="pdfFile" accept="application/pdf">
|
| 22 |
-
<select id="pdfLangSelect">
|
| 23 |
-
<option value="en">English</option>
|
| 24 |
-
<option value="ru">Русский</option>
|
| 25 |
-
</select>
|
| 26 |
-
<button id="summarizePdfBtn">Summarize PDF</button>
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
</
|
| 31 |
|
| 32 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
</body>
|
| 34 |
</html>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<title>Scientific Article Summarizer</title>
|
| 6 |
+
<link rel="stylesheet" href="/static/styles.css">
|
| 7 |
</head>
|
| 8 |
<body>
|
|
|
|
| 9 |
|
| 10 |
+
<h1>Scientific Article Summarizer</h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
+
<div class="container">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
+
<h2>Summarize Text</h2>
|
| 15 |
+
<textarea id="inputText" placeholder="Insert scientific text..."></textarea>
|
| 16 |
+
<button onclick="summarizeText()">Summarize Text</button>
|
| 17 |
|
| 18 |
+
<h2>Summarize PDF</h2>
|
| 19 |
+
<input type="file" id="pdfFile" accept="application/pdf">
|
| 20 |
+
<button onclick="summarizePDF()">Summarize PDF</button>
|
| 21 |
+
|
| 22 |
+
<h2>Summary Result</h2>
|
| 23 |
+
<div id="summaryBox"></div>
|
| 24 |
+
|
| 25 |
+
</div>
|
| 26 |
+
|
| 27 |
+
<script src="/static/script.js"></script>
|
| 28 |
</body>
|
| 29 |
</html>
|