turanhasan commited on
Commit
00fde9a
·
verified ·
1 Parent(s): 601a27d

Delete index.html

Browse files
Files changed (1) hide show
  1. index.html +0 -43
index.html DELETED
@@ -1,43 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Meeting Notes AI</title>
5
- <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
6
- </head>
7
- <body>
8
- <h1>AI Meeting Notes & Reporting</h1>
9
- <textarea id="meetingText" placeholder="Paste meeting notes here..."></textarea>
10
- <button onclick="summarize()">Summarize</button>
11
- <button onclick="extractDecisions()">Extract Decisions</button>
12
-
13
- <h3>Summary:</h3>
14
- <p id="summaryOutput"></p>
15
-
16
- <h3>Decisions:</h3>
17
- <p id="decisionsOutput"></p>
18
-
19
- <script>
20
- function summarize() {
21
- var text = document.getElementById("meetingText").value;
22
- fetch('/summarize', {
23
- method: 'POST',
24
- headers: {'Content-Type': 'application/json'},
25
- body: JSON.stringify({"text": text})
26
- })
27
- .then(response => response.json())
28
- .then(data => document.getElementById("summaryOutput").innerText = data.summary);
29
- }
30
-
31
- function extractDecisions() {
32
- var text = document.getElementById("meetingText").value;
33
- fetch('/extract-decisions', {
34
- method: 'POST',
35
- headers: {'Content-Type': 'application/json'},
36
- body: JSON.stringify({"text": text})
37
- })
38
- .then(response => response.json())
39
- .then(data => document.getElementById("decisionsOutput").innerText = data.decisions);
40
- }
41
- </script>
42
- </body>
43
- </html>