thookham commited on
Commit
0ef06dd
·
verified ·
1 Parent(s): 6858afa

Add index.html for browser implementation

Browse files
Files changed (1) hide show
  1. index.html +71 -0
index.html ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>DeOldify Browser Integration</title>
8
+ <style>
9
+ body {
10
+ font-family: sans-serif;
11
+ max-width: 600px;
12
+ margin: 0 auto;
13
+ padding: 40px;
14
+ text-align: center;
15
+ }
16
+
17
+ h1 {
18
+ margin-bottom: 30px;
19
+ }
20
+
21
+ .card {
22
+ border: 1px solid #ddd;
23
+ border-radius: 8px;
24
+ padding: 20px;
25
+ margin-bottom: 20px;
26
+ transition: transform 0.2s;
27
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
28
+ }
29
+
30
+ .card:hover {
31
+ transform: translateY(-2px);
32
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
33
+ }
34
+
35
+ a {
36
+ text-decoration: none;
37
+ color: inherit;
38
+ display: block;
39
+ }
40
+
41
+ h2 {
42
+ margin-top: 0;
43
+ color: #007bff;
44
+ }
45
+
46
+ p {
47
+ color: #666;
48
+ }
49
+ </style>
50
+ </head>
51
+
52
+ <body>
53
+ <h1>DeOldify Browser Integration</h1>
54
+ <p>Run DeOldify directly in your browser using ONNX models hosted on GitHub.</p>
55
+
56
+ <a href="artistic.html">
57
+ <div class="card">
58
+ <h2>Artistic Model</h2>
59
+ <p>High quality, vibrant colors. (243 MB download)</p>
60
+ </div>
61
+ </a>
62
+
63
+ <a href="quantized.html">
64
+ <div class="card">
65
+ <h2>Quantized Model</h2>
66
+ <p>Faster, lightweight. (61 MB download)</p>
67
+ </div>
68
+ </a>
69
+ </body>
70
+
71
+ </html>