GarGerry commited on
Commit
cc64172
·
verified ·
1 Parent(s): ddaaff3

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +33 -19
index.html CHANGED
@@ -1,19 +1,33 @@
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>Cat & Dog Classifier</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ </head>
9
+ <body>
10
+ <header>
11
+ <h1>Cat & Dog Classifier</h1>
12
+ <p>Upload an image and see the prediction!</p>
13
+ </header>
14
+
15
+ <main>
16
+ <div class="upload-container">
17
+ <input type="file" id="imageInput" accept="image/*">
18
+ <button id="uploadButton">Upload</button>
19
+ </div>
20
+ <div id="result-container" class="hidden">
21
+ <h2>Prediction Result:</h2>
22
+ <p id="resultText"></p>
23
+ <img id="uploadedImage" src="" alt="Uploaded Image">
24
+ </div>
25
+ </main>
26
+
27
+ <footer>
28
+ <p>Powered by <a href="https://huggingface.co/spaces/username/your-space-name" target="_blank">Hugging Face Spaces</a></p>
29
+ </footer>
30
+
31
+ <script src="script.js"></script>
32
+ </body>
33
+ </html>