student2222333051 commited on
Commit
1c401c5
·
verified ·
1 Parent(s): 10f6c50

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +9 -21
index.html CHANGED
@@ -1,29 +1,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>
 
 
1
  <!DOCTYPE html>
2
  <html>
3
  <head>
4
+ <title>Text Summarizer</title>
5
+ <link rel="stylesheet" href="/styles.css">
 
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
+ <script src="/script.js"></script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  </body>
16
  </html>
17
+