Asanaly
commited on
Update index.html
Browse files- index.html +12 -9
index.html
CHANGED
|
@@ -3,24 +3,27 @@
|
|
| 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 |
<div class="container">
|
| 10 |
-
<h1>Scientific Article Summarizer</h1>
|
| 11 |
|
| 12 |
-
<
|
| 13 |
-
<textarea id="inputText" placeholder="
|
| 14 |
<button onclick="summarizeText()">Summarize Text</button>
|
| 15 |
|
| 16 |
-
<
|
| 17 |
-
<input type="file" id="
|
| 18 |
<button onclick="summarizePDF()">Summarize PDF</button>
|
| 19 |
|
| 20 |
-
<h2>Summary
|
| 21 |
-
<div id="
|
|
|
|
| 22 |
</div>
|
| 23 |
|
| 24 |
-
<script src="script.js"></script>
|
| 25 |
</body>
|
| 26 |
</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>
|