imseldrith commited on
Commit
be7d0e1
·
1 Parent(s): b8c9b58

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +8 -14
templates/index.html CHANGED
@@ -1,23 +1,17 @@
 
1
  <html>
2
  <head>
3
- <title>Paraphrase AI Generated Content</title>
4
  </head>
5
  <body>
6
- <h1>Paraphrase AI Generated Content</h1>
7
- <form action="/" method="post">
8
  <textarea name="text"></textarea><br>
9
- <label for="library">Library:</label>
10
- <select name="library">
11
- <option value="transformers">Transformers</option>
12
- <option value="parrot">Parrot</option>
13
- </select><br>
14
  <input type="submit" value="Paraphrase">
15
  </form>
16
- {% if original_text %}
17
- <h2>Original Text</h2>
18
- <p>{{ original_text }}</p>
19
- <h2>Paraphrased Text</h2>
20
- <p>{{ paraphrased_text }}</p>
21
- {% endif %}
22
  </body>
23
  </html>
 
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>