Rudrameher45 commited on
Commit
e5f6776
·
verified ·
1 Parent(s): 1fa9f01

Create index.html

Browse files
Files changed (1) hide show
  1. index.html +18 -0
index.html ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>Text Summarizer</title>
6
+ </head>
7
+ <body>
8
+ <h1>Article Summarizer</h1>
9
+ <form method="POST" action="/summarize">
10
+ <textarea name="article" rows="10" cols="50" placeholder="Enter your article here..."></textarea><br>
11
+ <input type="submit" value="Summarize">
12
+ </form>
13
+ {% if summary %}
14
+ <h2>Summary:</h2>
15
+ <p>{{ summary }}</p>
16
+ {% endif %}
17
+ </body>
18
+ </html>