Spaces:
Sleeping
Sleeping
Create result.html
Browse files- templates/result.html +34 -0
templates/result.html
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<title>Generated Comment</title>
|
| 6 |
+
<style>
|
| 7 |
+
body {
|
| 8 |
+
font-family: sans-serif;
|
| 9 |
+
max-width: 600px;
|
| 10 |
+
margin: 50px auto;
|
| 11 |
+
background: #f7f7f7;
|
| 12 |
+
padding: 20px;
|
| 13 |
+
border-radius: 8px;
|
| 14 |
+
}
|
| 15 |
+
pre {
|
| 16 |
+
background: #fff;
|
| 17 |
+
padding: 15px;
|
| 18 |
+
border-radius: 5px;
|
| 19 |
+
white-space: pre-wrap;
|
| 20 |
+
}
|
| 21 |
+
a {
|
| 22 |
+
display: inline-block;
|
| 23 |
+
margin-top: 20px;
|
| 24 |
+
text-decoration: none;
|
| 25 |
+
color: #007bff;
|
| 26 |
+
}
|
| 27 |
+
</style>
|
| 28 |
+
</head>
|
| 29 |
+
<body>
|
| 30 |
+
<h1>Generated Comment</h1>
|
| 31 |
+
<pre>{{ generated_text }}</pre>
|
| 32 |
+
<a href="/">← Generate another</a>
|
| 33 |
+
</body>
|
| 34 |
+
</html>
|