imseldrith commited on
Commit
1652bce
·
1 Parent(s): df9b993

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +47 -16
templates/index.html CHANGED
@@ -1,17 +1,48 @@
1
- <!-- templates/index.html -->
2
  <html>
3
- <head>
4
- <title>AI Paraphraser</title>
5
- </head>
6
- <body>
7
- <h1>AI Paraphraser</h1>
8
- <form action="/paraphrase" method="post">
9
- <textarea name="text"></textarea><br>
10
- <label for="parrot">Parrot</label>
11
- <input type="radio" id="parrot" name="model" value="parrot" checked><br>
12
- <label for="transformers">Transformers</label>
13
- <input type="radio" id="transformers" name="model" value="transformers"><br>
14
- <input type="submit" value="Paraphrase">
15
- </form>
16
- </body>
17
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
  <html>
3
+ <head>
4
+ <title>Paraphrase Generator</title>
5
+ <link rel="stylesheet" type="text/css" href="style.css">
6
+ </head>
7
+ <body>
8
+ <header>
9
+ <h1>Paraphrase Generator</h1>
10
+ </header>
11
+ <main>
12
+ <div class="container">
13
+ <form>
14
+ <textarea id="input-text" rows="10" cols="50" placeholder="Enter your text here"></textarea><br><br>
15
+ <div class="options">
16
+ <label for="grammar-correction">Grammar Correction</label>
17
+ <input type="checkbox" id="grammar-correction" name="grammar-correction"><br><br>
18
+ <label for="remove-special-chars">Remove Special Characters</label>
19
+ <input type="checkbox" id="remove-special-chars" name="remove-special-chars"><br><br>
20
+ <label for="text-summarization">Text Summarization</label>
21
+ <input type="checkbox" id="text-summarization" name="text-summarization"><br><br>
22
+ <label for="multilingual-support">Multilingual Support</label>
23
+ <input type="checkbox" id="multilingual-support" name="multilingual-support"><br><br>
24
+ <label for="custom-synonyms">Custom Synonyms</label>
25
+ <input type="text" id="custom-synonyms" name="custom-synonyms" placeholder="Enter custom synonyms separated by commas"><br><br>
26
+ </div>
27
+ <button id="generate-paraphrase" type="button">Generate Paraphrase</button><br><br>
28
+ </form>
29
+ </div>
30
+ <div class="output">
31
+ <h2>Paraphrased Text</h2>
32
+ <textarea id="paraphrased-text" rows="10" cols="50" readonly></textarea><br><br>
33
+ <div class="output-options">
34
+ <label for="output-customization">Output Customization</label>
35
+ <input type="range" id="output-customization" name="output-customization" min="1" max="100" value="50"><br><br>
36
+ <button id="copy-to-clipboard" type="button">Copy to Clipboard</button><br><br>
37
+ </div>
38
+ <div class="progress-bar">
39
+ <progress id="paraphrase-progress" value="0" max="100"></progress>
40
+ </div>
41
+ </div>
42
+ </main>
43
+ <footer>
44
+ <p>Create with ❤️ By Ashiq Hussain.</p>
45
+ </footer>
46
+ <script src="main.js"></script>
47
+ </body>
48
+ </html>