Asanaly
commited on
Create index.html
Browse files- index.html +27 -0
index.html
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 9 |
+
<body>
|
| 10 |
+
<div class="container">
|
| 11 |
+
<h1>Scientific Article Summarizer</h1>
|
| 12 |
+
|
| 13 |
+
<h3>Summarize Text</h3>
|
| 14 |
+
<textarea id="inputText" placeholder="Paste scientific text here..."></textarea>
|
| 15 |
+
<button onclick="summarizeText()">Summarize Text</button>
|
| 16 |
+
|
| 17 |
+
<h3>Or Upload PDF</h3>
|
| 18 |
+
<input type="file" id="pdfInput" accept="application/pdf">
|
| 19 |
+
<button onclick="summarizePDF()">Summarize PDF</button>
|
| 20 |
+
|
| 21 |
+
<h2>Summary:</h2>
|
| 22 |
+
<div id="output"></div>
|
| 23 |
+
</div>
|
| 24 |
+
|
| 25 |
+
<script src="script.js"></script>
|
| 26 |
+
</body>
|
| 27 |
+
</html>
|