Asanaly commited on
Commit
c154b0d
·
verified ·
1 Parent(s): fa95d3e

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +22 -17
index.html CHANGED
@@ -1,29 +1,34 @@
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 lang="en">
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
+ <div class="container">
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
+ <h2>Summarize PDF</h2>
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
+ <h2>Summary Result</h2>
29
+ <div id="result"></div>
30
+ </div>
31
 
32
+ <script src="script.js"></script>
 
 
 
 
 
 
 
 
 
33
  </body>
34
  </html>