Spaces:
Running
Running
Commit
·
82efbf0
1
Parent(s):
c17dbac
Update templates/index.html
Browse files- templates/index.html +17 -9
templates/index.html
CHANGED
@@ -1,15 +1,23 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
<html>
|
3 |
<head>
|
4 |
-
<
|
5 |
-
<title>AI Content Detection</title>
|
6 |
</head>
|
7 |
<body>
|
8 |
-
<h1>AI Content
|
9 |
-
<form action="/
|
10 |
-
<textarea name="
|
11 |
-
<
|
12 |
-
<
|
|
|
|
|
|
|
|
|
13 |
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
</body>
|
15 |
-
</html>
|
|
|
|
|
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>
|