Update index.html
Browse files- index.html +21 -9
index.html
CHANGED
|
@@ -1,17 +1,29 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html>
|
| 3 |
<head>
|
| 4 |
-
<
|
| 5 |
-
<
|
|
|
|
| 6 |
</head>
|
| 7 |
<body>
|
| 8 |
-
<h1>Text Summarizer App</h1>
|
| 9 |
-
<textarea id="inputText" rows="10" cols="50"></textarea><br>
|
| 10 |
-
<button onclick="summarize()">Summarize</button>
|
| 11 |
-
<h2>Summary Result:</h2>
|
| 12 |
-
<p id="result"></p>
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
</body>
|
| 16 |
</html>
|
| 17 |
-
|
|
|
|
| 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>
|
|
|