Ferodissss commited on
Commit
36224aa
·
verified ·
1 Parent(s): 9ceb30e

Create index.html

Browse files
Files changed (1) hide show
  1. index.html +45 -19
index.html CHANGED
@@ -1,19 +1,45 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Image Editor (ZeroGPU)</title>
7
+ <style>
8
+ body {
9
+ font-family: sans-serif;
10
+ background: #111;
11
+ color: #fff;
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ padding: 30px;
16
+ }
17
+ #preview {
18
+ max-width: 90%;
19
+ margin-top: 20px;
20
+ border: 2px solid #444;
21
+ }
22
+ button {
23
+ padding: 10px 20px;
24
+ margin-top: 15px;
25
+ border: none;
26
+ background: #4CAF50;
27
+ color: white;
28
+ border-radius: 6px;
29
+ cursor: pointer;
30
+ }
31
+ input {
32
+ margin-top: 20px;
33
+ }
34
+ </style>
35
+ </head>
36
+
37
+ <body>
38
+ <h1>Simple Image Editor</h1>
39
+
40
+ <input type="file" id="fileInput" accept="image/*" />
41
+ <img id="preview" />
42
+
43
+ <script src="script.js"></script>
44
+ </body>
45
+ </html>